Borderou de evaluare (job #1824478)

Utilizator Marius7122FMI Ciltea Marian Marius7122 Data 7 decembrie 2016 21:31:14
Problema Numere 6 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void solve(short int*, short int)’: user.cpp:59:13: warning: unused variable ‘sum’ [-Wunused-variable] short i,sum=0; ^ user.cpp: In function ‘void back()’: user.cpp:101:10: warning: unused variable ‘as’ [-Wunused-variable] bool as; ^ user.cpp: In function ‘int main()’: user.cpp:127:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f1,"%d%d",&a,&b); ^ user.cpp:127:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:154:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(f2,"%ld",rez%mod); ^ user.cpp:127:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d%d",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit236kbTime limit exceeded.0
2Depăşit236kbTime limit exceeded.0
3Depăşit236kbTime limit exceeded.0
4Depăşit236kbTime limit exceeded.0
5Depăşit236kbTime limit exceeded.0
6Depăşit236kbTime limit exceeded.0
7Depăşit236kbTime limit exceeded.0
8Depăşit232kbTime limit exceeded.0
9Depăşit240kbTime limit exceeded.0
10Depăşit232kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?