Pagini recente » Borderou de evaluare (job #2380074) | Borderou de evaluare (job #559148) | Borderou de evaluare (job #2881936) | Borderou de evaluare (job #1352237) | Borderou de evaluare (job #2623890)
Borderou de evaluare (job #2623890)
Raport evaluator
Compilare:
main.cpp: In function 'void get_int(long long 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 | 422ms | 7077kb | Incorect | 0 | 0 |
2 | 23ms | 4980kb | OK | 10 | 30 |
3 | 110ms | 7471kb | OK | 10 |
4 | 20ms | 5111kb | OK | 10 |
5 | 30ms | 4980kb | OK | 10 | 20 |
6 | 31ms | 4980kb | OK | 10 |
7 | 478ms | 7208kb | Incorect | 0 | 0 |
8 | 545ms | 7077kb | Incorect | 0 |
9 | 511ms | 7077kb | Incorect | 0 |
10 | 700ms | 9306kb | Time limit exceeded | 0 |
Punctaj total | 50 |