Borderou de evaluare (job #1867749)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 4 februarie 2017 12:11:43
Problema Sobo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d",D[(1<<N)-1]); ^ user.cpp:14:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d\n",&N,&L); ^ user.cpp:19:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(C+1,1001,f); ^ user.cpp:25:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&c[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms536kbCool!10
20ms536kbCool!10
30ms544kbUrat.. urat de tot: raspuns gresit0
412ms540kbCool!10
516ms540kbCool!10
664ms536kbCool!10
7116ms536kbCool!10
8168ms540kbUrat.. urat de tot: raspuns gresit0
9352ms544kbUrat.. urat de tot: raspuns gresit0
10332ms544kbUrat.. urat de tot: raspuns gresit0
Punctaj total60

Ceva nu functioneaza?