Pagini recente » Borderou de evaluare (job #1962270) | Borderou de evaluare (job #1950846) | Borderou de evaluare (job #831012) | Borderou de evaluare (job #324213) | Borderou de evaluare (job #2128351)
Borderou de evaluare (job #2128351)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:134:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[5002]’ [-Wformat=]
fscanf(f,"%s",&a);
^
user.cpp:135:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[5002]’ [-Wformat=]
fscanf(f,"%s",&b);
^
user.cpp:136:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<strlen(b); i++)
^
user.cpp:133:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:134:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&a);
^
user.cpp:135:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 812kb | Incorect | 0 |
| 2 | 0ms | 880kb | Incorect | 0 |
| 3 | 0ms | 752kb | Incorect | 0 |
| 4 | 0ms | 796kb | OK | 10 |
| 5 | 0ms | 872kb | OK | 10 |
| 6 | 0ms | 756kb | OK | 10 |
| 7 | 0ms | 800kb | OK | 10 |
| 8 | 0ms | 880kb | OK | 10 |
| 9 | 4ms | 880kb | OK | 10 |
| 10 | 8ms | 796kb | OK | 10 |
| Punctaj total | 70 |