Borderou de evaluare (job #2675811)

Utilizator tryharderulbrebenel mihnea stefan tryharderul Data 22 noiembrie 2020 16:34:50
Problema Teatru Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:21:25: warning: format '%c' expects argument of type 'char*', but argument 2 has type 'int*' [-Wformat=] scanf("%c",&x[i]); ^ main.cpp:15:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("teatru.in","r",stdin); ^ main.cpp:16:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("teatru.out","w",stdout); ^ main.cpp:18:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n",&n,&m); ^ main.cpp:21:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&x[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbIncorect0
22ms131kbIncorect0
353ms131kbTime limit exceeded0
453ms131kbTime limit exceeded0
553ms131kbTime limit exceeded0
653ms131kbTime limit exceeded0
753ms131kbTime limit exceeded0
853ms131kbTime limit exceeded0
953ms131kbTime limit exceeded0
1053ms131kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?