Pagini recente » Cod sursa (job #2201224) | Borderou de evaluare (job #3285878) | Borderou de evaluare (job #2243658) | Borderou de evaluare (job #1671712) | Borderou de evaluare (job #1794095)
Borderou de evaluare (job #1794095)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:66: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:43: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:44: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:53:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:56: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 | 1616kb | OK | 5 |
| 3 | 12ms | 1616kb | OK | 5 | 15 |
| 4 | 12ms | 1616kb | OK | 5 |
| 5 | 12ms | 1612kb | OK | 5 |
| 6 | 12ms | 1632kb | OK | 5 | 25 |
| 7 | 20ms | 1788kb | OK | 5 |
| 8 | 16ms | 1908kb | OK | 5 |
| 9 | 12ms | 1608kb | OK | 5 |
| 10 | 12ms | 1596kb | OK | 5 |
| 11 | 508ms | 2780kb | OK | 5 | 25 |
| 12 | 512ms | 2784kb | OK | 5 |
| 13 | 284ms | 2524kb | OK | 5 |
| 14 | 136ms | 1976kb | OK | 5 |
| 15 | 436ms | 2660kb | OK | 5 |
| 16 | 12ms | 1612kb | Incorect | 0 | 0 |
| 17 | 12ms | 1588kb | Incorect | 0 |
| 18 | 12ms | 1620kb | Incorect | 0 |
| 19 | 12ms | 1620kb | Incorect | 0 |
| 20 | 12ms | 1612kb | Incorect | 0 |
| Punctaj total | 75 |