Borderou de evaluare (job #1232152)

Utilizator atatomirTatomir Alex atatomir Data 22 septembrie 2014 11:01:45
Problema 7segmente Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 76

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[30]’ [-Wformat=] scanf("%s %ld",&s,&p); ^ user.cpp:14:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("7segmente.in","r",stdin); ^ user.cpp:15:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("7segmente.out","w",stdout); ^ user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s %ld",&s,&p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbTe stii !5
20ms440kbValoare incorecta cerinta 2 !1
30ms444kbTe stii !5
40ms444kbTe stii !5
50ms436kbTe stii !5
60ms444kbTe stii !5
70ms440kbTe stii !5
80ms440kbTe stii !5
90ms440kbTe stii !5
100ms440kbTe stii !5
110ms440kbTe stii !5
120ms440kbValoare incorecta cerinta 2 !1
130ms440kbTe stii !5
140ms440kbValoare incorecta cerinta 2 !1
150ms440kbValoare incorecta cerinta 2 !1
160ms444kbTe stii !5
170ms436kbValoare incorecta cerinta 2 !1
180ms440kbValoare incorecta cerinta 2 !1
190ms436kbTe stii !5
200ms440kbTe stii !5
Punctaj total76

Ceva nu functioneaza?