Borderou de evaluare (job #1789939)

Utilizator mateinMatei Nistor Ionut matein Data 27 octombrie 2016 17:22:57
Problema Weeee Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:37:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] str[w_poz] = 'E'; ^ user.cpp:59:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(out, "%d\n", number); ^ user.cpp:12:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d\n", &n); ^ user.cpp:14:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%s", str); ^ user.cpp:41:13: warning: ‘last_e’ may be used uninitialized in this function [-Wmaybe-uninitialized] j = last_e; ^ user.cpp:36:19: warning: ‘w_poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] number += w_poz; ^ user.cpp:40:14: warning: ‘first_e’ may be used uninitialized in this function [-Wmaybe-uninitialized] i = first_e; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms456kbIncorect00
24ms452kbIncorect0
30ms360kbIncorect0
40ms272kbIncorect0
50ms284kbIncorect0
60ms256kbOK8
70ms260kbIncorect0
80ms260kbIncorect0
90ms300kbIncorect0
100ms296kbOK8
110ms260kbOK8
120ms260kbOK8
Punctaj total0

Ceva nu functioneaza?