Pagini recente » Borderou de evaluare (job #1431808) | Borderou de evaluare (job #493267) | Borderou de evaluare (job #3235998) | Borderou de evaluare (job #1548436) | Borderou de evaluare (job #1411998)
Borderou de evaluare (job #1411998)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[50]’ [-Wformat=]
fscanf(f,"%s\n",&s);
^
user.cpp:43:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0;j<strlen(p);j++)
^
user.cpp:73:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0;j<strlen(p);j++)
^
user.cpp:18:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&n,&k);
^
user.cpp:21:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&x);
^
user.cpp:24:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"\n");
^
user.cpp:27:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s\n",&s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 304kb | OK | 10 |
| 2 | 0ms | 312kb | OK | 10 |
| 3 | 0ms | 312kb | OK | 10 |
| 4 | 0ms | 308kb | OK | 10 |
| 5 | 8ms | 364kb | OK | 10 |
| 6 | 0ms | 308kb | OK | 10 |
| 7 | 40ms | 368kb | OK | 10 |
| 8 | 64ms | 372kb | OK | 10 |
| 9 | 0ms | 328kb | OK | 10 |
| 10 | 0ms | 332kb | OK | 10 |
| Punctaj total | 100 |