Pagini recente » Borderou de evaluare (job #1694544) | Borderou de evaluare (job #1863420) | Borderou de evaluare (job #2507994) | Borderou de evaluare (job #1254404) | Borderou de evaluare (job #1417770)
Borderou de evaluare (job #1417770)
Raport evaluator
Compilare:
user.cpp: In function ‘void readdata()’:
user.cpp:9:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d%d",&p);
^
user.cpp:9:23: warning: format ‘%d’ expects a matching ‘int*’ argument [-Wformat=]
user.cpp: In function ‘int solve()’:
user.cpp:17:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d",n);
^
user.cpp: In function ‘void writedata()’:
user.cpp:65:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(f,"%d",n);
^
user.cpp: In function ‘void readdata()’:
user.cpp:9:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Raspuns incorect | 0 |
2 | 0ms | 256kb | Corect! | 5 |
3 | 0ms | 256kb | Raspuns incorect | 0 |
4 | 0ms | 264kb | Corect! | 5 |
5 | Depăşit | 252kb | Time limit exceeded. | 0 |
6 | Depăşit | 248kb | Time limit exceeded. | 0 |
7 | 0ms | 264kb | Corect! | 5 |
8 | 0ms | 260kb | Corect! | 5 |
9 | 0ms | 260kb | Corect! | 5 |
10 | 0ms | 260kb | Corect! | 5 |
11 | 0ms | 264kb | Corect! | 5 |
12 | 0ms | 264kb | Corect! | 5 |
13 | 0ms | 264kb | Corect! | 5 |
14 | 0ms | 264kb | Corect! | 5 |
15 | 0ms | 264kb | Raspuns incorect | 0 |
16 | 0ms | 260kb | Corect! | 5 |
17 | 0ms | 264kb | Corect! | 5 |
18 | 0ms | 260kb | Corect! | 5 |
19 | 0ms | 260kb | Corect! | 5 |
20 | 0ms | 260kb | Corect! | 5 |
Punctaj total | 75 |