Borderou de evaluare (job #2626699)

Utilizator darkeagleDaniel Popescu darkeagle Data 7 iunie 2020 18:39:39
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
1153ms3059kbTime limit exceeded0
2152ms4063kbTime limit exceeded0
3152ms3801kbTime limit exceeded0
4153ms3145kbTime limit exceeded0
5152ms3407kbTime limit exceeded0
6152ms3670kbTime limit exceeded0
7153ms4063kbTime limit exceeded0
8152ms3276kbTime limit exceeded0
9152ms3670kbTime limit exceeded0
10153ms3276kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?