Borderou de evaluare (job #2469562)

Utilizator mirceatlxhaha haha mirceatlx Data 7 octombrie 2019 18:39:55
Problema Secventa 5 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp:3:27: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] #define maxMemory 1 << 20 + 5 ~~~^~~ main.cpp:6:16: note: in expansion of macro 'maxMemory' unsigned int v[maxMemory], N, L, U; ^~~~~~~~~ main.cpp: In function 'long long int solve(int)': main.cpp:15:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(dr = 1; dr <= N; dr++) ~~~^~~~ main.cpp:18:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(mapp.size() > disElem) ~~~~~~~~~~~~^~~~~~~~~ main.cpp: In function 'int main()': main.cpp:37:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1; i <= N; i++) ~~^~~~ main.cpp:33:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("secv5.in","r",stdin); ^ main.cpp:34:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("secv5.out","w",stdout); ^ main.cpp:36:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&N,&L,&U); ^ main.cpp:38:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
210ms131kbOK10
332ms262kbOK10
4153ms655kbOK10
5109ms1048kbOK10
6626ms1572kbOK10
71166ms3276kbOK10
81803ms4956kbTime limit exceeded0
91803ms16121kbTime limit exceeded0
101803ms19660kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?