Pagini recente » Borderou de evaluare (job #2243555) | Borderou de evaluare (job #1944765) | Borderou de evaluare (job #77786) | Borderou de evaluare (job #900747) | Borderou de evaluare (job #1961175)
Borderou de evaluare (job #1961175)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:14:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:18:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &sir[i]);
^
user.cpp: In function ‘int cautareBinara()’:
user.cpp:64:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:68:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.in", "r", stdin);
^
user.cpp:69:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.out", "w", stdout);
^
user.cpp:73:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:77:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &operatie, &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | OK | 10 | 10 |
2 | 0ms | 264kb | OK | 10 | 10 |
3 | 0ms | 260kb | OK | 10 | 10 |
4 | 4ms | 268kb | OK | 10 | 10 |
5 | 24ms | 304kb | OK | 10 | 20 |
6 | 80ms | 456kb | OK | 10 |
7 | 116ms | 648kb | OK | 10 | 40 |
8 | 124ms | 648kb | OK | 10 |
9 | 124ms | 656kb | OK | 10 |
10 | 120ms | 652kb | OK | 10 |
Punctaj total | 100 |