Pagini recente » Borderou de evaluare (job #540136) | Borderou de evaluare (job #285258) | Borderou de evaluare (job #2845511) | Borderou de evaluare (job #1775380) | Borderou de evaluare (job #1794069)
Borderou de evaluare (job #1794069)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:64: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:38: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:39: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:51:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:54: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 | 488ms | 2784kb | OK | 5 | 10 |
2 | 488ms | 2780kb | OK | 5 |
3 | 488ms | 2776kb | OK | 5 | 15 |
4 | 488ms | 2780kb | OK | 5 |
5 | 488ms | 2780kb | OK | 5 |
6 | 492ms | 2796kb | OK | 5 | 25 |
7 | 500ms | 2956kb | OK | 5 |
8 | 496ms | 3076kb | OK | 5 |
9 | 488ms | 2776kb | OK | 5 |
10 | 488ms | 2768kb | OK | 5 |
11 | 504ms | 2780kb | Incorect | 0 | 0 |
12 | 504ms | 2776kb | Incorect | 0 |
13 | 504ms | 2776kb | OK | 5 |
14 | 496ms | 2776kb | OK | 5 |
15 | 512ms | 2780kb | OK | 5 |
16 | 488ms | 2776kb | Incorect | 0 | 0 |
17 | 488ms | 2752kb | Incorect | 0 |
18 | 488ms | 2780kb | Incorect | 0 |
19 | 488ms | 2784kb | Incorect | 0 |
20 | 488ms | 2780kb | Incorect | 0 |
Punctaj total | 50 |