Borderou de evaluare (job #2163358)

Utilizator Theodor1000Cristea Theodor Stefan Theodor1000 Data 12 martie 2018 17:55:20
Problema Smooth2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (!ap[str[j]]) ++app[str[j]]; ^ user.cpp:32:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (!ap[str[j]]) ++app[str[j]]; ^ user.cpp:33:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] ap[str[j]] = true; ^ user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("smooth2.in", "r", stdin); ^ user.cpp:14:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("smooth2.out", "w", stdout); ^ user.cpp:16:35: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets (str + 1, 100010, stdin); ^ In file included from /usr/include/stdio.h:936:0, from /usr/include/c++/5/cstdio:42, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:16:35: /usr/include/bits/stdio2.h:261:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms1196kbOK!00
20ms1136kbOK!00
30ms1240kbOK!00
40ms1164kbOK!00
50ms1176kbOK!33
60ms1248kbOK!22
70ms1168kbOK!22
80ms1184kbOK!33
90ms1188kbOK!33
100ms1196kbOK!33
110ms1232kbOK!44
120ms1312kbOK!560
1328ms1324kbOK!5
140ms1288kbOK!5
1528ms1232kbOK!5
1628ms1344kbOK!5
1728ms1236kbOK!35
1832ms1324kbOK!520
1928ms1272kbOK!5
2028ms1276kbOK!10
Punctaj total100

Ceva nu functioneaza?