Pagini recente » Cod sursa (job #3038364) | Borderou de evaluare (job #1570796) | Borderou de evaluare (job #149710) | Borderou de evaluare (job #2235538) | Borderou de evaluare (job #2215995)
Borderou de evaluare (job #2215995)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:65:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &c[i]);
^
user.cpp:61:39: 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:62:41: 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:63: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:65:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &c[i]);
^
user.cpp:67:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:70:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &A, &B, &T, &W);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2016kb | OK | 10 |
2 | 16ms | 2264kb | OK | 10 |
3 | 4ms | 1884kb | Incorect | 0 |
4 | 28ms | 2000kb | OK | 10 |
5 | 32ms | 2268kb | OK | 10 |
6 | 72ms | 2544kb | OK | 10 |
7 | 52ms | 2180kb | OK | 10 |
8 | 4ms | 1812kb | OK | 10 |
9 | 0ms | 1556kb | OK | 10 |
10 | 4ms | 1844kb | OK | 10 |
Punctaj total | 90 |