Pagini recente » Borderou de evaluare (job #2537471) | Borderou de evaluare (job #2837818) | Borderou de evaluare (job #81) | Borderou de evaluare (job #791672) | Borderou de evaluare (job #2623895)
Borderou de evaluare (job #2623895)
Raport evaluator
Compilare:
main.cpp: In function 'void get_int(int&)':
main.cpp:18:39: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buffer , sz , 1 , stdin);
^
main.cpp:26:39: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buffer , sz , 1 , stdin);
^
main.cpp: In function 'int main()':
main.cpp:64:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("papagali.in" , "r" , stdin);
^
main.cpp:65:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("papagali.out" , "w" , stdout);
^
main.cpp:71:18: warning: iteration 300004 invokes undefined behavior [-Waggressive-loop-optimizations]
fact1[i] = (((fact1[i - 1] * (2 * i - 1)) % MOD) * (2 * i)) % MOD;
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:69:19: note: within this loop
for(i = 1 ; i <= (NMAX + XMAX) / 2 + 5 ; i ++)
~~^~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 394ms | 7077kb | OK | 10 | 10 |
2 | 19ms | 4980kb | OK | 10 | 30 |
3 | 96ms | 6553kb | OK | 10 |
4 | 25ms | 4980kb | OK | 10 |
5 | 30ms | 4980kb | OK | 10 | 20 |
6 | 30ms | 4980kb | OK | 10 |
7 | 457ms | 6946kb | OK | 10 | 40 |
8 | 456ms | 6946kb | OK | 10 |
9 | 422ms | 6946kb | OK | 10 |
10 | 600ms | 8519kb | OK | 10 |
Punctaj total | 100 |