Pagini recente » Borderou de evaluare (job #424773) | Borderou de evaluare (job #2177911) | Borderou de evaluare (job #312507) | Borderou de evaluare (job #1920656) | Borderou de evaluare (job #1875066)
Borderou de evaluare (job #1875066)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f1,"%d%d",&n,&m);
^
user.cpp:22:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:24:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f1,"%d",&a[i]);
^
user.cpp:26:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f1,"%d",&b[i]);
^
user.cpp:22:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d%d",&n,&m);
^
user.cpp:24:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d",&a[i]);
^
user.cpp:26:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d",&b[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Lungime incorecta! | 0 |
2 | 0ms | 260kb | Lungime incorecta! | 0 |
3 | 0ms | 268kb | Lungime incorecta! | 0 |
4 | 0ms | 264kb | Lungime incorecta! | 0 |
5 | 0ms | 264kb | Lungime incorecta! | 0 |
6 | 0ms | 268kb | Lungime incorecta! | 0 |
7 | 0ms | 264kb | Lungime incorecta! | 0 |
8 | 0ms | 264kb | Lungime incorecta! | 0 |
9 | 0ms | 260kb | Lungime incorecta! | 0 |
10 | 0ms | 264kb | Lungime incorecta! | 0 |
Punctaj total | 0 |