Pagini recente » Borderou de evaluare (job #147582) | Borderou de evaluare (job #2456992) | Borderou de evaluare (job #1777563) | Borderou de evaluare (job #1791520) | Borderou de evaluare (job #1683023)
Borderou de evaluare (job #1683023)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &a);
^
user.cpp:31:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ", sol);
^
user.cpp:8:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("clasament.in", "r", stdin);
^
user.cpp:9:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("clasament.out", "w", stdout);
^
user.cpp:10:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &j);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 268kb | Incorect | 0 |
✗ | 2 | 0ms | 268kb | Incorect | 0 |
✗ | 3 | 0ms | 272kb | Incorect | 0 |
✗ | 4 | 0ms | 272kb | Incorect | 0 |
✗ | 5 | 20ms | 276kb | Incorect | 0 |
✗ | 6 | 28ms | 332kb | Incorect | 0 |
✓ | 7 | 24ms | 336kb | Incorect | 0 |
✗ | 8 | 28ms | 348kb | Incorect | 0 |
✗ | 9 | 24ms | 292kb | Incorect | 0 |
✗ | 10 | 20ms | 268kb | Incorect | 0 |
Punctaj total | 0 |