Pagini recente » Borderou de evaluare (job #3002762) | Borderou de evaluare (job #1398373) | Borderou de evaluare (job #1082780) | Borderou de evaluare (job #11445) | Borderou de evaluare (job #1757596)
Borderou de evaluare (job #1757596)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:80:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d", &n, &k);
^
user.cpp:80:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:88:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d", &muchie);
^
user.cpp:75:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori.in","r",stdin);
^
user.cpp:76:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori.out","w",stdout);
^
user.cpp:80:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:88:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &muchie);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 500kb | Incorect | 0 | 0 |
2 | 0ms | 500kb | OK | 10 |
3 | 4ms | 504kb | OK | 10 |
4 | 72ms | 496kb | OK | 10 |
5 | 108ms | 496kb | OK | 10 |
6 | 196ms | 512kb | OK | 10 | 50 |
7 | 200ms | 504kb | OK | 10 |
8 | 0ms | 492kb | OK | 10 |
9 | 0ms | 496kb | OK | 10 |
10 | 0ms | 500kb | OK | 10 |
Punctaj total | 50 |