Pagini recente » Borderou de evaluare (job #1175827) | Borderou de evaluare (job #1114988) | Borderou de evaluare (job #3248959) | Borderou de evaluare (job #1199446) | Borderou de evaluare (job #1599733)
Borderou de evaluare (job #1599733)
Raport evaluator
Compilare:
user.cpp: In function ‘int parcour(short int (*)[1030])’:
user.cpp:34:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:39:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d",&n,&m);
^
user.cpp:39:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:41:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&a[i]);
^
user.cpp:43:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&b[i]);
^
user.cpp:37:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.in","r",stdin);
^
user.cpp:38:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.out","w",stdout);
^
user.cpp:39:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:41:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
user.cpp:43:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&b[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Lungime incorecta! | 0 |
2 | 0ms | 276kb | Lungime incorecta! | 0 |
3 | 0ms | 272kb | Lungime incorecta! | 0 |
4 | 0ms | 276kb | Lungime incorecta! | 0 |
5 | 0ms | 276kb | Lungime incorecta! | 0 |
6 | 0ms | 276kb | Lungime incorecta! | 0 |
7 | 0ms | 280kb | Lungime incorecta! | 0 |
8 | 0ms | 272kb | Lungime incorecta! | 0 |
9 | 0ms | 276kb | Lungime incorecta! | 0 |
10 | 0ms | 276kb | Lungime incorecta! | 0 |
Punctaj total | 0 |