Pagini recente » Borderou de evaluare (job #846649) | Borderou de evaluare (job #2547948) | Borderou de evaluare (job #2598656) | Borderou de evaluare (job #3232981) | Borderou de evaluare (job #2231576)
Borderou de evaluare (job #2231576)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
scanf("%d %d",&story[i].d,&story[i].c);
^
user.cpp:25:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned 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("zmeu2.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("zmeu2.out","w",stdout);
^
user.cpp:17:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&p,&k);
^
user.cpp:25:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&story[i].d,&story[i].c);
^
user.cpp:30:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&d,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1324kb | OK | 10 |
2 | 0ms | 1320kb | OK | 10 |
3 | 16ms | 1548kb | OK | 10 |
4 | 16ms | 1804kb | OK | 10 |
5 | 8ms | 1324kb | OK | 10 |
6 | 0ms | 1324kb | OK | 10 |
7 | 0ms | 1332kb | OK | 10 |
8 | 0ms | 1324kb | OK | 10 |
9 | 4ms | 1452kb | OK | 10 |
10 | 16ms | 1452kb | OK | 10 |
Punctaj total | 100 |