Pagini recente » Borderou de evaluare (job #909737) | Borderou de evaluare (job #2264469) | Borderou de evaluare (job #2741185) | Borderou de evaluare (job #1390589) | Borderou de evaluare (job #1271703)
Borderou de evaluare (job #1271703)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin, "%d", &n);
^
user.cpp:16:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin, "%d", &x);
^
user.cpp:29:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout, "%d\n", p);
^
user.cpp:11:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:16:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &x);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 244kb | OK | 10 |
✓ | 2 | 0ms | 244kb | OK | 10 |
✓ | 3 | 0ms | 236kb | Incorect | 0 |
✓ | 4 | 20ms | 244kb | Incorect | 0 |
✓ | 5 | 0ms | 240kb | Incorect | 0 |
✓ | 6 | 0ms | 236kb | Incorect | 0 |
✓ | 7 | 32ms | 244kb | Incorect | 0 |
✓ | 8 | 4ms | 244kb | Incorect | 0 |
✓ | 9 | 28ms | 240kb | Incorect | 0 |
✓ | 10 | 28ms | 240kb | Incorect | 0 |
Punctaj total | 20 |