Borderou de evaluare (job #1769336)

Utilizator mihai.alphamihai craciun mihai.alpha Data 2 octombrie 2016 13:30:59
Problema Cifra Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[101]’ [-Wformat=] fscanf(fin, "%s", &n); ^ user.cpp:9:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &t); ^ user.cpp:27:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%s", &n); ^ user.cpp:38:41: warning: ‘mod’ may be used uninitialized in this function [-Wmaybe-uninitialized] fprintf(fout, "%d\n", v[mod]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbRaspuns gresit!0
20ms260kbRaspuns gresit!0
30ms260kbRaspuns gresit!0
40ms256kbRaspuns gresit!0
50ms260kbRaspuns gresit!0
60ms260kbRaspuns gresit!0
70ms256kbRaspuns gresit!0
84ms264kbRaspuns gresit!0
98ms260kbRaspuns gresit!0
1020ms264kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?