Pagini recente » Borderou de evaluare (job #986190) | Borderou de evaluare (job #2267726) | Borderou de evaluare (job #1737011) | Borderou de evaluare (job #1650050) | Borderou de evaluare (job #1794046)
Borderou de evaluare (job #1794046)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:58: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:35: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:36: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:45:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:48: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 | 12ms | 1612kb | OK | 5 | 10 |
2 | 12ms | 1612kb | OK | 5 |
3 | 12ms | 1612kb | OK | 5 | 15 |
4 | 12ms | 1608kb | OK | 5 |
5 | 12ms | 1604kb | OK | 5 |
6 | 80ms | 1628kb | OK | 5 | 0 |
7 | Depăşit | 1680kb | Time limit exceeded. | 0 |
8 | Depăşit | 1660kb | Time limit exceeded. | 0 |
9 | 12ms | 1608kb | OK | 5 |
10 | 12ms | 1596kb | OK | 5 |
11 | 616ms | 1604kb | Incorect | 0 | 0 |
12 | 736ms | 1612kb | Incorect | 0 |
13 | 644ms | 1612kb | OK | 5 |
14 | 300ms | 1616kb | OK | 5 |
15 | 976ms | 1616kb | OK | 5 |
16 | 608ms | 1608kb | Incorect | 0 | 0 |
17 | 668ms | 1612kb | Incorect | 0 |
18 | 464ms | 1620kb | Incorect | 0 |
19 | 692ms | 1612kb | Incorect | 0 |
20 | 928ms | 1612kb | Incorect | 0 |
Punctaj total | 25 |