Pagini recente » Borderou de evaluare (job #2342248) | Borderou de evaluare (job #1350794) | Borderou de evaluare (job #1345759) | Borderou de evaluare (job #2670780) | Borderou de evaluare (job #1262347)
Borderou de evaluare (job #1262347)
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 | 260kb | OK | 10 | 30 |
| 2 | 8ms | 260kb | OK | 10 |
| 3 | 0ms | 256kb | OK | 10 |
| 4 | 0ms | 256kb | OK | 10 | 30 |
| 5 | 0ms | 260kb | OK | 10 |
| 6 | 0ms | 264kb | OK | 10 |
| 7 | 0ms | 260kb | OK | 10 | 40 |
| 8 | 0ms | 256kb | OK | 10 |
| 9 | 0ms | 264kb | OK | 10 |
| 10 | 12ms | 260kb | OK | 10 |
| Punctaj total | 100 |