Pagini recente » Borderou de evaluare (job #2511790) | Borderou de evaluare (job #2230449) | Borderou de evaluare (job #2880248) | Borderou de evaluare (job #1492094) | Borderou de evaluare (job #1501301)
Borderou de evaluare (job #1501301)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:80:20: warning: left operand of comma operator has no effect [-Wunused-value]
for (int i = 3; i <= N, cnt < N; i = add (i, 1), cnt ++) {
^
user.cpp: In function ‘int add(int, int)’:
user.cpp:36:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:39:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("oo.in", "r", stdin);
^
user.cpp:40:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("oo.out", "w", stdout);
^
user.cpp:42:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &N);
^
user.cpp:44:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 328kb | Incorect | 0 |
2 | 0ms | 372kb | Incorect | 0 |
3 | 24ms | 1064kb | Incorect | 0 |
4 | 8ms | 560kb | OK | 10 |
5 | 20ms | 836kb | OK | 10 |
6 | 0ms | 288kb | OK | 10 |
7 | 0ms | 284kb | Incorect | 0 |
8 | 0ms | 288kb | OK | 10 |
9 | 0ms | 292kb | Incorect | 0 |
10 | 4ms | 372kb | OK | 10 |
Punctaj total | 50 |