Pagini recente » Borderou de evaluare (job #3181351) | Cod sursa (job #228971) | Borderou de evaluare (job #1120496) | Cod sursa (job #1667591) | Borderou de evaluare (job #1523814)
Borderou de evaluare (job #1523814)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:12:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&x[i],&y[i]);
^
user.cpp:12:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:21:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",w);
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hacker3.in","r",stdin);
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hacker3.out","w",stdout);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:12:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x[i],&y[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 288kb | OK | 5 | 5 |
| 2 | 0ms | 284kb | OK | 5 | 5 |
| 3 | 0ms | 296kb | OK | 5 | 5 |
| 4 | 0ms | 292kb | Incorect | 0 | 0 |
| 5 | 0ms | 320kb | Incorect | 0 | 0 |
| 6 | 0ms | 320kb | Incorect | 0 | 0 |
| 7 | 0ms | 320kb | Incorect | 0 | 0 |
| 8 | 0ms | 320kb | Incorect | 0 | 0 |
| 9 | 4ms | 604kb | Incorect | 0 | 0 |
| 10 | 4ms | 604kb | Incorect | 0 |
| 11 | 4ms | 608kb | Incorect | 0 |
| 12 | 4ms | 600kb | Incorect | 0 |
| 13 | 4ms | 600kb | Incorect | 0 |
| 14 | 4ms | 604kb | Incorect | 0 |
| 15 | 12ms | Depăşit | Memory limit exceeded. | 0 | 0 |
| 16 | 12ms | Depăşit | Memory limit exceeded. | 0 |
| 17 | 12ms | Depăşit | Memory limit exceeded. | 0 |
| 18 | 12ms | Depăşit | Memory limit exceeded. | 0 |
| 19 | 12ms | Depăşit | Memory limit exceeded. | 0 |
| 20 | 16ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 15 |