Pagini recente » Cod sursa (job #2811047) | Borderou de evaluare (job #1697321) | Borderou de evaluare (job #2313106) | Borderou de evaluare (job #2223837) | Borderou de evaluare (job #1780369)
Borderou de evaluare (job #1780369)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", rs);
^
user.cpp:8:36: 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:38: 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:11:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &j);
^
user.cpp:15:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 432kb | OK | 10 |
| 2 | 0ms | 432kb | OK | 10 |
| 3 | 0ms | 436kb | OK | 10 |
| 4 | 0ms | 448kb | OK | 10 |
| 5 | 24ms | 532kb | OK | 10 |
| 6 | 28ms | 532kb | Incorect | 0 |
| 7 | 28ms | 532kb | OK | 10 |
| 8 | 28ms | 528kb | OK | 10 |
| 9 | 24ms | 532kb | OK | 10 |
| 10 | 24ms | 536kb | OK | 10 |
| Punctaj total | 90 |