Pagini recente » Borderou de evaluare (job #425639) | Borderou de evaluare (job #2783856) | Borderou de evaluare (job #2369979) | Borderou de evaluare (job #2421173) | Borderou de evaluare (job #1285231)
Borderou de evaluare (job #1285231)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(in, "%ld%ld", &N, &P);
^
user.cpp:17:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:19:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(in, "%ld%ld", &a1, &a2);
^
user.cpp:19:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:29:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(in, "%ld", &a1);
^
user.cpp:38:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(out, "%ld\n", r);
^
user.cpp:17:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%ld%ld", &N, &P);
^
user.cpp:19:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%ld%ld", &a1, &a2);
^
user.cpp:29:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%ld", &a1);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✗ | 1 | 0ms | 236kb | Incorect | 0 | 0 |
✓ | 2 | 0ms | 236kb | OK | 10 |
✗ | 3 | 0ms | 236kb | OK | 10 | 0 |
✗ | 4 | 0ms | 236kb | Incorect | 0 |
✓ | 5 | 0ms | 236kb | Incorect | 0 | 0 |
✗ | 6 | 0ms | 232kb | OK | 10 |
✗ | 7 | 0ms | 240kb | Incorect | 0 | 0 |
✓ | 8 | 0ms | 236kb | Incorect | 0 |
✗ | 9 | 0ms | 236kb | Incorect | 0 |
✗ | 10 | 116ms | 232kb | OK | 10 |
Punctaj total | 0 |