Borderou de evaluare (job #1188579)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
for(int i=1;i<=a;++i) fscanf(f, "%d", &M[i]);
^
user.cpp:21:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
for(int i=1;i<=b;++i) fscanf(f, "%d", &N[i]);
^
user.cpp:18:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (f, "%d %d", &a, &b);
^
user.cpp:20:55: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=a;++i) fscanf(f, "%d", &M[i]);
^
user.cpp:21:55: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=b;++i) fscanf(f, "%d", &N[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Lungime incorecta! | 0 |
2 | 0ms | 272kb | Lungime incorecta! | 0 |
3 | 0ms | 284kb | Lungime incorecta! | 0 |
4 | 0ms | 652kb | Lungime incorecta! | 0 |
5 | 0ms | 764kb | Lungime incorecta! | 0 |
6 | 4ms | 1292kb | Lungime incorecta! | 0 |
7 | 8ms | 2260kb | Lungime incorecta! | 0 |
8 | 8ms | 2080kb | Lungime incorecta! | 0 |
9 | 8ms | 2272kb | Lungime incorecta! | 0 |
10 | 4ms | 1880kb | Lungime incorecta! | 0 |
Punctaj total | 0 |