Pagini recente » Borderou de evaluare (job #271720) | Borderou de evaluare (job #2373234) | Borderou de evaluare (job #947820) | Borderou de evaluare (job #2752215) | Borderou de evaluare (job #1350831)
Borderou de evaluare (job #1350831)
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 |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 244kb | OK | 10 |
3 | 0ms | 244kb | OK | 10 |
4 | 0ms | 244kb | OK | 10 |
5 | 0ms | 248kb | OK | 10 |
6 | 0ms | 244kb | Incorect | 0 |
7 | 0ms | 252kb | Incorect | 0 |
8 | Depăşit | 236kb | Time limit exceeded. | 0 |
9 | Depăşit | 248kb | Time limit exceeded. | 0 |
10 | Depăşit | 248kb | Time limit exceeded. | 0 |
Punctaj total | 50 |