Pagini recente » Borderou de evaluare (job #2096721) | Borderou de evaluare (job #2178185) | Borderou de evaluare (job #2457709) | Borderou de evaluare (job #2756899) | Borderou de evaluare (job #1720970)
Borderou de evaluare (job #1720970)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&v[i].l,&v[i].p);
^
user.cpp:13:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sant.in","r",stdin);
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sant.out","w",stdout);
^
user.cpp:11:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&s,&n,&c);
^
user.cpp:13:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].l,&v[i].p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 292kb | OK | 10 |
4 | 0ms | 296kb | OK | 10 |
5 | 0ms | 388kb | OK | 10 |
6 | 0ms | 468kb | OK | 10 |
7 | 4ms | 504kb | OK | 10 |
8 | 8ms | 588kb | OK | 10 |
9 | 16ms | 664kb | OK | 10 |
10 | 0ms | 280kb | OK | 10 |
Punctaj total | 100 |