Pagini recente » Atasamentele paginii sv | Borderou de evaluare (job #2406061) | Borderou de evaluare (job #1796180) | Borderou de evaluare (job #1776687) | Borderou de evaluare (job #1794094)
Borderou de evaluare (job #1794094)
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 | 1608kb | OK | 5 | 10 |
| 2 | 12ms | 1608kb | OK | 5 |
| 3 | 12ms | 1608kb | OK | 5 | 15 |
| 4 | 12ms | 1608kb | OK | 5 |
| 5 | 12ms | 1608kb | OK | 5 |
| 6 | 12ms | 1628kb | OK | 5 | 25 |
| 7 | 20ms | 1784kb | OK | 5 |
| 8 | 16ms | 1908kb | OK | 5 |
| 9 | 12ms | 1608kb | OK | 5 |
| 10 | 12ms | 1596kb | OK | 5 |
| 11 | 620ms | 1608kb | OK | 5 | 25 |
| 12 | 732ms | 1612kb | OK | 5 |
| 13 | 640ms | 1608kb | OK | 5 |
| 14 | 292ms | 1612kb | OK | 5 |
| 15 | 976ms | 1608kb | OK | 5 |
| 16 | 12ms | 1604kb | Incorect | 0 | 0 |
| 17 | 12ms | 1592kb | Incorect | 0 |
| 18 | 12ms | 1612kb | Incorect | 0 |
| 19 | 12ms | 1616kb | Incorect | 0 |
| 20 | 12ms | 1608kb | Incorect | 0 |
| Punctaj total | 75 |