Borderou de evaluare (job #2626692)

Utilizator darkeagleDaniel Popescu darkeagle Data 7 iunie 2020 18:13:06
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
1150ms3145kbTime limit exceeded0
2152ms3276kbTime limit exceeded0
3152ms3538kbTime limit exceeded0
4152ms3538kbTime limit exceeded0
5153ms3145kbTime limit exceeded0
6152ms4063kbTime limit exceeded0
7150ms3932kbTime limit exceeded0
8153ms3407kbTime limit exceeded0
9150ms3407kbTime limit exceeded0
10151ms3145kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?