Pagini recente » Borderou de evaluare (job #2808335) | Borderou de evaluare (job #1503985) | Borderou de evaluare (job #1878873) | Borderou de evaluare (job #331466) | Borderou de evaluare (job #2209418)
Borderou de evaluare (job #2209418)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:70:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &baza[i]);
^
user.cpp:65:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("lanterna.in", "r",stdin);
^
user.cpp:66:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.out", "w",stdout);
^
user.cpp:68: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:70:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &baza[i]);
^
user.cpp:71:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:73:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &u, &v, &t, &j);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1076kb | OK | 10 |
2 | 16ms | 1180kb | OK | 10 |
3 | 0ms | 1060kb | OK | 10 |
4 | 36ms | 1100kb | OK | 10 |
5 | 44ms | 1148kb | OK | 10 |
6 | 64ms | 1176kb | OK | 10 |
7 | 56ms | 1108kb | OK | 10 |
8 | 0ms | 1064kb | OK | 10 |
9 | 0ms | 872kb | OK | 10 |
10 | 4ms | 1056kb | OK | 10 |
Punctaj total | 100 |