Pagini recente » Borderou de evaluare (job #2250074) | Borderou de evaluare (job #2189560) | Borderou de evaluare (job #2765290) | Borderou de evaluare (job #1129646) | Borderou de evaluare (job #1449409)
Borderou de evaluare (job #1449409)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spiridusi.in","r",stdin);
^
user.cpp:60:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spiridusi.out","w",stdout);
^
user.cpp:62:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&B);
^
user.cpp:64:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&spir[i]);
^
user.cpp:66:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p[i]);
^
user.cpp:69:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:47:34: warning: ‘sol’ may be used uninitialized in this function [-Wmaybe-uninitialized]
solmax = max(solmax, rmq[sol + (1 << prep[nr - sol + 1]) - 1][prep[nr - sol + 1]] + sp2[nr] - sp2[sol + (1 << prep[nr - sol + 1]) - 1]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1484kb | OK | 10 |
2 | 176ms | 21076kb | OK | 10 |
3 | 0ms | 1556kb | OK | 10 |
4 | 0ms | 1576kb | OK | 10 |
5 | 72ms | 5068kb | OK | 10 |
6 | 116ms | 7168kb | OK | 10 |
7 | 140ms | 8188kb | OK | 10 |
8 | 140ms | 8188kb | OK | 10 |
9 | 148ms | 8616kb | OK | 10 |
10 | 148ms | 8644kb | OK | 10 |
Punctaj total | 100 |