Pagini recente » Borderou de evaluare (job #241822) | Borderou de evaluare (job #1407540) | Borderou de evaluare (job #988741) | Borderou de evaluare (job #387542) | Borderou de evaluare (job #1316948)
Borderou de evaluare (job #1316948)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:65:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[150]’ [-Wformat=]
fscanf(f,"%s",&s1);n1=strlen(s1);
^
user.cpp:66:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[150]’ [-Wformat=]
fscanf(f,"%s",&s2);n2=strlen(s2);
^
user.cpp:80:17: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[200]’ [-Wformat=]
fscanf(f,"%s",&o);
^
user.cpp:65:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&s1);n1=strlen(s1);
^
user.cpp:66:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&s2);n2=strlen(s2);
^
user.cpp:74:18: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&m);
^
user.cpp:80:18: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&o);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1204kb | OK | 10 |
| 2 | 0ms | 1204kb | OK | 10 |
| 3 | 4ms | 1208kb | OK | 10 |
| 4 | 4ms | 1204kb | OK | 10 |
| 5 | 4ms | 1208kb | OK | 10 |
| 6 | 4ms | 1200kb | OK | 10 |
| 7 | 4ms | 1200kb | OK | 10 |
| 8 | 12ms | 1200kb | OK | 10 |
| 9 | 8ms | 1208kb | OK | 10 |
| 10 | 0ms | 1204kb | OK | 10 |
| Punctaj total | 100 |