Pagini recente » Borderou de evaluare (job #3219474) | Borderou de evaluare (job #2472804) | Borderou de evaluare (job #1089299) | Borderou de evaluare (job #2730267) | Borderou de evaluare (job #2626826)
Borderou de evaluare (job #2626826)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:37:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("xcmmdc.in","r",stdin);
^
main.cpp:38:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("xcmmdc.out","w",stdout);
^
main.cpp:40:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &m, &n, &k, &q);
^
main.cpp:45:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &mat[0][i][j]);
^
main.cpp:60:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
main.cpp:42:14: warning: iteration 1003 invokes undefined behavior [-Waggressive-loop-optimizations]
lg[i]=lg[i/2]+1;
~~~~~^~~~~~~~~~
main.cpp:41:18: note: within this loop
for(int i=2;i<=MAXN;i++)
~^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 27ms | 2490kb | OK | 10 |
2 | 90ms | 5636kb | OK | 10 |
3 | 220ms | 9175kb | OK | 10 |
4 | 413ms | 12713kb | OK | 10 |
5 | 650ms | 16384kb | OK | 10 |
6 | 1247ms | 26214kb | OK | 10 |
7 | 1380ms | 24248kb | OK | 10 |
8 | 1998ms | 28344kb | OK | 10 |
9 | 2053ms | 32538kb | OK | 10 |
10 | 3000ms | 36306kb | Time limit exceeded | 0 |
Punctaj total | 90 |