Pagini recente » Borderou de evaluare (job #2116622) | Borderou de evaluare (job #1286256) | Borderou de evaluare (job #2920203) | Borderou de evaluare (job #2551471) | Borderou de evaluare (job #2623889)
Borderou de evaluare (job #2623889)
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 | 451ms | 7077kb | Incorect | 0 | 0 |
2 | 19ms | 4980kb | OK | 10 | 30 |
3 | 106ms | 6684kb | OK | 10 |
4 | 24ms | 4980kb | OK | 10 |
5 | 30ms | 4980kb | OK | 10 | 20 |
6 | 30ms | 4980kb | OK | 10 |
7 | 464ms | 7077kb | Incorect | 0 | 0 |
8 | 587ms | 7077kb | Incorect | 0 |
9 | 447ms | 7077kb | Incorect | 0 |
10 | 616ms | 8650kb | Incorect | 0 |
Punctaj total | 50 |