Pagini recente » Borderou de evaluare (job #1459414) | Borderou de evaluare (job #2738709) | Borderou de evaluare (job #2398767) | Borderou de evaluare (job #1050509) | Borderou de evaluare (job #1254988)
Borderou de evaluare (job #1254988)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:48:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(f, "%d", &a[i]);
^
user.cpp:51:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(f, "%d", &b[i]);
^
user.cpp:44:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &N);
^
user.cpp:45:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &M);
^
user.cpp:48:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &a[i]);
^
user.cpp:51:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &b[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Raspuns corect! | 10 |
2 | 0ms | 264kb | Raspuns corect! | 10 |
3 | 0ms | 268kb | Raspuns corect! | 10 |
4 | 0ms | 456kb | Raspuns corect! | 10 |
5 | 0ms | 508kb | Raspuns corect! | 10 |
6 | 0ms | 776kb | Lungime incorecta! | 0 |
7 | 4ms | 1260kb | Lungime incorecta! | 0 |
8 | 4ms | 1168kb | Lungime incorecta! | 0 |
9 | 4ms | 1264kb | Subsir incorect! | 0 |
10 | 4ms | 1068kb | Subsir incorect! | 0 |
Punctaj total | 50 |