Pagini recente » Borderou de evaluare (job #1851184) | Borderou de evaluare (job #985000) | Borderou de evaluare (job #3214448) | Borderou de evaluare (job #2298812) | Borderou de evaluare (job #1262358)
Borderou de evaluare (job #1262358)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:5:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("lacusta.in", "r", stdin);
^
user.cpp:6:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("lacusta.out", "w", stdout);
^
user.cpp:7:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &n, &m);
^
user.cpp:10:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &v[j]);
^
user.cpp:18:63: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for ((i == 2 ? scanf ("%d", &v[1]), j = 2 : j = 1); j <= m; ++j){
^
user.cpp:19:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &v[j]);
^
user.cpp:45:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &v[j]);
^
user.cpp:49:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &v[m]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 256kb | OK | 10 | 30 |
2 | 8ms | 264kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 260kb | OK | 10 | 30 |
5 | 0ms | 260kb | OK | 10 |
6 | 0ms | 256kb | OK | 10 |
7 | 0ms | 260kb | OK | 10 | 40 |
8 | 0ms | 256kb | OK | 10 |
9 | 0ms | 260kb | OK | 10 |
10 | 12ms | 256kb | OK | 10 |
Punctaj total | 100 |