Pagini recente » Borderou de evaluare (job #1343769) | Borderou de evaluare (job #903957) | Borderou de evaluare (job #2295392) | Borderou de evaluare (job #1328813) | Borderou de evaluare (job #2593410)
Borderou de evaluare (job #2593410)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:53:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbore4.in","r",stdin);
^
main.cpp:54:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbore4.out","w",stdout);
^
main.cpp:56:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:60:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
main.cpp:65:30: warning: iteration 100005 invokes undefined behavior [-Waggressive-loop-optimizations]
fact[i]=(1LL*fact[i-1]*i)%MOD;
~~~~~~~~^
main.cpp:64:18: note: within this loop
for(int i=1;i<=2*NMAX;i++)
~^~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 13ms | 3276kb | OK | 5 |
| 2 | 13ms | 3276kb | OK | 5 |
| 3 | 13ms | 3276kb | OK | 5 |
| 4 | 13ms | 3276kb | OK | 5 |
| 5 | 14ms | 3276kb | OK | 5 |
| 6 | 14ms | 3407kb | OK | 5 |
| 7 | 14ms | 3407kb | OK | 5 |
| 8 | 15ms | 3407kb | OK | 5 |
| 9 | 15ms | 3407kb | OK | 5 |
| 10 | 15ms | 3407kb | OK | 5 |
| 11 | 16ms | 3407kb | OK | 5 |
| 12 | 16ms | 3407kb | OK | 5 |
| 13 | 17ms | 3407kb | OK | 5 |
| 14 | 17ms | 3407kb | OK | 5 |
| 15 | 186ms | 6684kb | OK | 5 |
| 16 | 194ms | 6946kb | OK | 5 |
| 17 | 201ms | 7077kb | OK | 5 |
| 18 | 209ms | 7340kb | OK | 5 |
| 19 | 214ms | 7602kb | OK | 5 |
| 20 | 210ms | 7602kb | OK | 5 |
| Punctaj total | 100 |