Pagini recente » Borderou de evaluare (job #3215265) | Borderou de evaluare (job #87449) | Borderou de evaluare (job #1713119) | Borderou de evaluare (job #1888587) | Borderou de evaluare (job #2254447)
Borderou de evaluare (job #2254447)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < a.size(); ++i) {
~~^~~~~~~~~~
user.cpp:25:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("granita.in", "r", stdin);
^
user.cpp:26:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("granita.out", "w", stdout);
^
user.cpp:28:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:33:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &start, &end);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 880kb | OK | 10 |
2 | 0ms | 860kb | OK | 10 |
3 | 8ms | 888kb | OK | 10 |
4 | 12ms | 892kb | OK | 10 |
5 | 12ms | 888kb | OK | 10 |
6 | 12ms | 892kb | OK | 10 |
7 | 12ms | 888kb | OK | 10 |
8 | 12ms | 892kb | OK | 10 |
9 | 12ms | 892kb | OK | 10 |
10 | 12ms | 888kb | OK | 10 |
Punctaj total | 100 |