Borderou de evaluare (job #1350844)
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);while(!((c>='a' && c<='z')||(c>='A'&& c<='Z')||(c>='0'&&c<='9'))) fscanf(f,"%c",&c);
^
user.c:11:126: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
while(c!='}') {if(c=='{'||c==',') {fscanf(f,"%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:24: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:25: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 |
1 | 0ms | 240kb | OK | 10 |
2 | 0ms | 244kb | OK | 10 |
3 | 0ms | 244kb | OK | 10 |
4 | 0ms | 244kb | OK | 10 |
5 | 0ms | 244kb | OK | 10 |
6 | 0ms | 244kb | Incorect | 0 |
7 | 0ms | 244kb | Incorect | 0 |
8 | Depăşit | 232kb | Time limit exceeded. | 0 |
9 | Depăşit | 236kb | Time limit exceeded. | 0 |
10 | Depăşit | 240kb | Time limit exceeded. | 0 |
Punctaj total | 50 |