Pagini recente » Frumusete | Borderou de evaluare (job #2612128) | Arbsat2 | Exponentiere rapida | Borderou de evaluare (job #1794105)
Borderou de evaluare (job #1794105)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:93:57: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", (1LL * N * (N + 1) / 2) % mod);
^
user.cpp:75:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("preasimplu.in", "r", stdin);
^
user.cpp:76:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("preasimplu.out", "w", stdout);
^
user.cpp:80:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:83:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &N, &K, &mod);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 472kb | OK | 5 | 0 |
| 2 | Depăşit | 428kb | Time limit exceeded. | 0 |
| 3 | Depăşit | 456kb | Time limit exceeded. | 0 | 0 |
| 4 | Depăşit | 452kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 460kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 464kb | Time limit exceeded. | 0 | 0 |
| 7 | 4ms | 476kb | OK | 5 |
| 8 | 0ms | 492kb | OK | 5 |
| 9 | 0ms | 456kb | OK | 5 |
| 10 | 0ms | 440kb | OK | 5 |
| 11 | 736ms | 460kb | OK | 5 | 25 |
| 12 | 772ms | 460kb | OK | 5 |
| 13 | 680ms | 460kb | OK | 5 |
| 14 | 308ms | 456kb | OK | 5 |
| 15 | 1036ms | 456kb | OK | 5 |
| 16 | Depăşit | 460kb | Time limit exceeded. | 0 | 0 |
| 17 | 1008ms | 484kb | OK | 5 |
| 18 | Depăşit | 476kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 452kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 476kb | Time limit exceeded. | 0 |
| Punctaj total | 25 |