Borderou de evaluare (job #2626686)

Utilizator darkeagleDaniel Popescu darkeagle Data 7 iunie 2020 17:56:44
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
1152ms3145kbTime limit exceeded0
2153ms3276kbTime limit exceeded0
3153ms3276kbTime limit exceeded0
4152ms4063kbTime limit exceeded0
5152ms4194kbTime limit exceeded0
6152ms4194kbTime limit exceeded0
7152ms3407kbTime limit exceeded0
8153ms3145kbTime limit exceeded0
9152ms3407kbTime limit exceeded0
10153ms3407kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?