Borderou de evaluare (job #2447140)

Utilizator claudiu.gatinaFMI Claudiu Gatina claudiu.gatina Data 12 august 2019 11:51:25
Problema Secventa Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:55:20: warning: format '%hd' expects argument of type 'short int*', but argument 2 has type 'int*' [-Wformat=] scanf("%hd", &x); ^ main.cpp:61:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < pos[maxSupport].size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:47:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("secventa.in", "r", stdin); ^ main.cpp:48:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("secventa.out", "w", stdout); ^ main.cpp:50:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:51:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^ main.cpp:55:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
15ms1572kbKilled by Signal 110
25ms1572kbKilled by Signal 110
35ms1572kbKilled by Signal 110
45ms1572kbKilled by Signal 110
54ms1572kbKilled by Signal 110
65ms1572kbKilled by Signal 110
74ms1572kbKilled by Signal 110
85ms1572kbKilled by Signal 110
95ms1572kbKilled by Signal 110
105ms1572kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?