Pagini recente » Borderou de evaluare (job #1588126) | Borderou de evaluare (job #1313098) | Borderou de evaluare (job #2102427) | Borderou de evaluare (job #1705051) | Borderou de evaluare (job #1703506)
Borderou de evaluare (job #1703506)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:15: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&N);
^
user.cpp:20:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&v[i].x,&v[i].y);
^
user.cpp:20:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:15:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reactivi.in","r",stdin);
^
user.cpp:16:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reactivi.out","w",stdout);
^
user.cpp:18:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:20:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].x,&v[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 272kb | OK | 10 | 10 |
2 | 0ms | 264kb | OK | 10 | 10 |
3 | 0ms | 268kb | OK | 10 | 10 |
4 | 4ms | 296kb | OK | 10 | 10 |
5 | 0ms | 280kb | OK | 10 | 60 |
6 | 0ms | 272kb | OK | 10 |
7 | 4ms | 292kb | OK | 10 |
8 | 0ms | 272kb | OK | 10 |
9 | 4ms | 292kb | OK | 10 |
10 | 0ms | 268kb | OK | 10 |
Punctaj total | 100 |