Pagini recente » Borderou de evaluare (job #1246972) | Borderou de evaluare (job #2269146) | Borderou de evaluare (job #1649278) | Borderou de evaluare (job #2035540) | Borderou de evaluare (job #1806723)
Borderou de evaluare (job #1806723)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:55:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < b.size(); i++)
^
user.cpp:47:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vila2.in", "r", stdin);
^
user.cpp:48:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vila2.out", "w", stdout);
^
user.cpp:49:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:52:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | OK | 10 |
2 | 0ms | 456kb | OK | 10 |
3 | 4ms | 556kb | OK | 10 |
4 | 8ms | 696kb | OK | 10 |
5 | 8ms | 784kb | Incorect | 0 |
6 | 16ms | 864kb | OK | 10 |
7 | 20ms | 1196kb | OK | 10 |
8 | 20ms | 1148kb | OK | 10 |
9 | 32ms | 1700kb | OK | 10 |
10 | 32ms | 1308kb | OK | 10 |
Punctaj total | 90 |