Pagini recente » Borderou de evaluare (job #2679102) | Borderou de evaluare (job #2807753) | Borderou de evaluare (job #2362143) | Borderou de evaluare (job #1160718) | Borderou de evaluare (job #1602392)
Borderou de evaluare (job #1602392)
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);n=0;
^
user.cpp:42:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d",m);
^
user.cpp:67: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);n=0;
^
user.cpp:48: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:48: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 | 416kb | Incorect | 0 |
2 | 0ms | 424kb | Incorect | 0 |
3 | 0ms | 420kb | Incorect | 0 |
4 | 0ms | 424kb | Incorect | 0 |
5 | 0ms | 420kb | Incorect | 0 |
6 | 0ms | 448kb | Incorect | 0 |
7 | 0ms | 448kb | 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 | 488kb | Incorect | 0 |
15 | 0ms | 464kb | OK | 5 |
16 | 0ms | 480kb | OK | 5 |
17 | 0ms | 472kb | OK | 5 |
18 | 4ms | 476kb | Incorect | 0 |
19 | 4ms | 476kb | Incorect | 0 |
20 | 0ms | 448kb | OK | 5 |
Punctaj total | 55 |