Pagini recente » Borderou de evaluare (job #408041) | Borderou de evaluare (job #446768) | Cod sursa (job #3232211) | preONI 2008 - Clasament Runda 1, Clasele 11-12 | Borderou de evaluare (job #1793969)
Borderou de evaluare (job #1793969)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:71:59: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
else printf ("%d\n", (1LL * N * (N + 1) / 2) % mod);
^
user.cpp:61:38: 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:62:40: 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:64:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &T);
^
user.cpp:67:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d %d", &N, &K, &mod), nr = 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 456kb | OK | 5 | 10 |
2 | 0ms | 444kb | OK | 5 |
3 | 4ms | 460kb | OK | 5 | 15 |
4 | 0ms | 456kb | OK | 5 |
5 | 0ms | 460kb | OK | 5 |
6 | 16ms | 496kb | OK | 5 | 25 |
7 | 8ms | 888kb | OK | 5 |
8 | 16ms | 1936kb | OK | 5 |
9 | 0ms | 436kb | OK | 5 |
10 | 0ms | 420kb | OK | 5 |
11 | 512ms | 1612kb | OK | 5 | 25 |
12 | 512ms | 1612kb | OK | 5 |
13 | 456ms | 1352kb | OK | 5 |
14 | 216ms | 1408kb | OK | 5 |
15 | 676ms | 1484kb | OK | 5 |
16 | 548ms | 2800kb | OK | 5 | 25 |
17 | 972ms | 11020kb | OK | 5 |
18 | 624ms | 8572kb | OK | 5 |
19 | 496ms | 2776kb | OK | 5 |
20 | 1228ms | 9332kb | OK | 5 |
Punctaj total | 100 |