Borderou de evaluare (job #2626701)

Utilizator darkeagleDaniel Popescu darkeagle Data 7 iunie 2020 18:57:27
Problema Farfurii Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:30:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=n;i>=k1+1;i--) ^~~ main.cpp:32:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for(i=k1-1;i>=p+1;i++) ^~~ main.cpp:8:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("farfurii.in", "r", stdin); ^ main.cpp:9:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("farfurii.out", "w", stdout); ^ main.cpp:12:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld",&n,&k); ^ main.cpp:32:21: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] for(i=k1-1;i>=p+1;i++) ~^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1153ms3145kbTime limit exceeded0
2151ms3407kbTime limit exceeded0
3153ms4063kbTime limit exceeded0
4152ms4194kbTime limit exceeded0
5152ms3538kbTime limit exceeded0
6151ms3670kbTime limit exceeded0
7151ms3407kbTime limit exceeded0
8151ms3407kbTime limit exceeded0
9152ms3538kbTime limit exceeded0
10152ms3014kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?