Pagini recente » Borderou de evaluare (job #2088278) | Borderou de evaluare (job #2919601) | Borderou de evaluare (job #1814558) | Borderou de evaluare (job #819432) | Borderou de evaluare (job #1602361)
Borderou de evaluare (job #1602361)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&p);
^
user.cpp:20:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&p); fscanf(f,"%s",&s);
^
user.cpp:20:44: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100000]’ [-Wformat=]
fscanf(f,"%d",&p); fscanf(f,"%s",&s);
^
user.cpp:21:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (l=2;l<strlen(s)-1;l++)
^
user.cpp:25:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while ((i<strlen(s)-1)&&(ok==1))
^
user.cpp:36:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d",m);
^
user.cpp:61:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d",pr);
^
user.cpp:17:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&p);
^
user.cpp:20:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&p); fscanf(f,"%s",&s);
^
user.cpp:20:45: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&p); fscanf(f,"%s",&s);
^
user.cpp:42:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%c",&t); fscanf(f,"%c",&c);
^
user.cpp:42:45: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%c",&t); fscanf(f,"%c",&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 5 |
2 | 0ms | 444kb | OK | 5 |
3 | 0ms | 440kb | OK | 5 |
4 | Depăşit | 500kb | Time limit exceeded. | 0 |
5 | Depăşit | 496kb | Time limit exceeded. | 0 |
6 | 0ms | 444kb | Incorect | 0 |
7 | 0ms | 444kb | OK | 5 |
8 | 0ms | 444kb | OK | 5 |
9 | 0ms | 452kb | OK | 5 |
10 | 0ms | 456kb | OK | 5 |
11 | 0ms | 492kb | OK | 5 |
12 | 0ms | 464kb | OK | 5 |
13 | 0ms | 488kb | OK | 5 |
14 | 4ms | 480kb | Incorect | 0 |
15 | 0ms | 464kb | OK | 5 |
16 | 0ms | 480kb | OK | 5 |
17 | 0ms | 476kb | OK | 5 |
18 | 4ms | 476kb | Incorect | 0 |
19 | 4ms | 480kb | Incorect | 0 |
20 | 0ms | 444kb | OK | 5 |
Punctaj total | 70 |