Borderou de evaluare (job #1350831)

Utilizator noname23Ionescu Marius noname23 Data 20 februarie 2015 23:12:38
Problema Convertor Status done
Runda rosedu_cdl_2015 Compilator c | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:5:14: warning: unused variable ‘m’ [-Wunused-variable] int i,j,n=-1,m; ^ user.c:5:9: warning: unused variable ‘n’ [-Wunused-variable] int i,j,n=-1,m; ^ user.c:5:7: warning: unused variable ‘j’ [-Wunused-variable] int i,j,n=-1,m; ^ user.c:5:5: warning: unused variable ‘i’ [-Wunused-variable] int i,j,n=-1,m; ^ user.c:4:7: warning: unused variable ‘s’ [-Wunused-variable] {char s[1025]; ^ user.c:10:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%c",&c); ^ user.c:11:42: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] while(c!='}') {if(c=='{'||c==',') {fscanf(f,"%c",&c); printf("%c ",c);while(!(c>='a' && c<='z')||(c>='A'&& c<='Z')||(c>='0'&&c<='9')) fscanf(f,"%c",&c); ^ user.c:11:141: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] while(c!='}') {if(c=='{'||c==',') {fscanf(f,"%c",&c); printf("%c ",c);while(!(c>='a' && c<='z')||(c>='A'&& c<='Z')||(c>='0'&&c<='9')) fscanf(f,"%c",&c); ^ user.c:12:74: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] while(c!='"') {fprintf(g,"%c",c);fscanf(f,"%c",&c);} ^ user.c:17:23: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%c",&c); ^ user.c:22:113: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] while(fscanf(f,"%c",&c)==1){ if(c==':') {while(!((c>='a' && c<='z')||(c>='A'&& c<='Z')||(c>='0'&&c<='9')))fscanf(f,"%c",&c); ^ user.c:23:138: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] while((c>='a' && c<='z')||(c>='A'&& c<='Z')||(c>='0'&&c<='9')||c==' ') {fprintf(g,"%c",c);fscanf(f,"%c",&c);}fprintf(g,",");} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
20ms244kbOK10
30ms244kbOK10
40ms244kbOK10
50ms248kbOK10
60ms244kbIncorect0
70ms252kbIncorect0
8Depăşit236kbTime limit exceeded.0
9Depăşit248kbTime limit exceeded.0
10Depăşit248kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?