Pagini recente » Borderou de evaluare (job #2439767) | Borderou de evaluare (job #2286160) | Borderou de evaluare (job #1399004) | Borderou de evaluare (job #2789042) | Borderou de evaluare (job #1521287)
Borderou de evaluare (job #1521287)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",sum%MOD);
^
user.cpp:25:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inv.in","r",stdin);
^
user.cpp:26:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inv.out","w",stdout);
^
user.cpp:27:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:31:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 484kb | OK | 10 |
2 | 4ms | 608kb | OK | 10 |
3 | 12ms | 832kb | OK | 10 |
4 | 20ms | 944kb | OK | 10 |
5 | 36ms | 1164kb | OK | 10 |
6 | 44ms | 1336kb | OK | 10 |
7 | 48ms | 1364kb | OK | 10 |
8 | 52ms | 1548kb | OK | 10 |
9 | 56ms | 1580kb | OK | 10 |
10 | 0ms | 440kb | OK | 10 |
Punctaj total | 100 |