Pagini recente » Borderou de evaluare (job #3289005) | Borderou de evaluare (job #1107857) | Borderou de evaluare (job #2345954) | Borderou de evaluare (job #2203428) | Borderou de evaluare (job #2342801)
Borderou de evaluare (job #2342801)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.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);
^
main.cpp:25:46: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short unsigned int*' [-Wformat=]
main.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);
^
main.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);
^
main.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);
^
main.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);
^
main.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 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 20ms | 393kb | OK | 10 |
4 | 17ms | 720kb | OK | 10 |
5 | 13ms | 131kb | OK | 10 |
6 | 3ms | 131kb | OK | 10 |
7 | 3ms | 131kb | OK | 10 |
8 | 2ms | 131kb | OK | 10 |
9 | 5ms | 262kb | OK | 10 |
10 | 21ms | 262kb | OK | 10 |
Punctaj total | 100 |