update gcc typo

This commit is contained in:
juan 2021-12-05 09:40:57 +08:00
parent f56c2977e7
commit 198d437e1a
No known key found for this signature in database
GPG key ID: 5C1E5093C74F1DC7
6 changed files with 6 additions and 6 deletions

View file

@ -26,7 +26,7 @@ int main() {
}
/* 请在这里填写答案 */
#pragma gcc optimize("ofast,inline")
#pragma GCC optimize("Ofast,inline")
void findMin(int M[][MAX], int x[], int n, int m) {
int min;
for (int i = 0; i < m; i++) {

View file

@ -1,5 +1,5 @@
#include <stdio.h>
#pragma gcc optimize("O2")
#pragma GCC optimize("O2")
#define MAX 100
void transpose(int matrix[][MAX], int result[][MAX], int n, int m);

View file

@ -1,5 +1,5 @@
#include <stdio.h>
#pragma gcc optimize("Ofast,inline")
#pragma GCC optimize("Ofast,inline")
void process(float input[][3], float output[][5], int n);

View file

@ -1,5 +1,5 @@
#include <stdio.h>
#pragma gcc optimize("O2")
#pragma GCC optimize("O2")
#define MAX 10
int matrixAdd(int matrix[][MAX], int m, int n, int x, int y);

View file

@ -1,5 +1,5 @@
#include <stdio.h>
#pragma gcc optimize("Ofast, inline")
#pragma GCC optimize("Ofast, inline")
int main(void) {
int n, m;

View file

@ -1,5 +1,5 @@
#include <stdio.h>
#pragma gcc optimize("Ofast, inline")
#pragma GCC optimize("Ofast, inline")
int getSum(int *arr, int len);
// Use bubble sort