Pagini recente » Borderou de evaluare (job #55830) | Borderou de evaluare (job #1815588) | Borderou de evaluare (job #196587) | Borderou de evaluare (job #2932156) | Borderou de evaluare (job #2502633)
Borderou de evaluare (job #2502633)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("stramosi.in","r",stdin);
^
main.cpp:11:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("stramosi.out","w",stdout);
^
main.cpp:13:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n, &m);
^
main.cpp:15:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &par[i][0]);
^
main.cpp:23:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &q, &p);
^
main.cpp:17:15: warning: iteration 250003 invokes undefined behavior [-Waggressive-loop-optimizations]
log[i]=log[i/2]+1;
~~~~~~^~~~~~~~~~~
main.cpp:16:18: note: within this loop
for(int i=2;i<=NMAX;i++)
~^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1179kb | OK! | 10 |
2 | 4ms | 1179kb | OK! | 10 |
3 | 7ms | 1179kb | OK! | 10 |
4 | 20ms | 1835kb | OK! | 10 |
5 | 21ms | 1966kb | OK! | 10 |
6 | 90ms | 3670kb | OK! | 10 |
7 | 147ms | 6160kb | OK! | 10 |
8 | 244ms | 8658kb | OK! | 10 |
9 | 693ms | 17068kb | OK! | 10 |
10 | 703ms | 20840kb | Time limit exceeded | 0 |
Punctaj total | 90 |