Pagini recente » Borderou de evaluare (job #1866073) | Borderou de evaluare (job #372990) | Borderou de evaluare (job #868258) | Borderou de evaluare (job #89638) | Borderou de evaluare (job #2623896)
Borderou de evaluare (job #2623896)
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 | 415ms | 6946kb | OK | 10 | 10 |
2 | 24ms | 4980kb | OK | 10 | 30 |
3 | 100ms | 6553kb | OK | 10 |
4 | 24ms | 4980kb | OK | 10 |
5 | 30ms | 4980kb | OK | 10 | 20 |
6 | 30ms | 4980kb | OK | 10 |
7 | 520ms | 6926kb | OK | 10 | 40 |
8 | 524ms | 6909kb | OK | 10 |
9 | 473ms | 6946kb | OK | 10 |
10 | 589ms | 8519kb | OK | 10 |
Punctaj total | 100 |