Pagini recente » Borderou de evaluare (job #3167920) | Borderou de evaluare (job #2146892) | Borderou de evaluare (job #2847914) | Borderou de evaluare (job #3169539) | Borderou de evaluare (job #1261918)
Borderou de evaluare (job #1261918)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:5:37: 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:39: 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:25: 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:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &v[j]);
^
user.cpp:18:54: 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:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &v[j]);
^
user.cpp:45:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &v[j]);
^
user.cpp:49:22: 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 | 256kb | OK | 10 |
| 3 | 0ms | 260kb | OK | 10 |
| 4 | 0ms | 260kb | OK | 10 | 30 |
| 5 | 0ms | 260kb | OK | 10 |
| 6 | 0ms | 260kb | OK | 10 |
| 7 | 0ms | 256kb | OK | 10 | 40 |
| 8 | 0ms | 260kb | OK | 10 |
| 9 | 0ms | 260kb | OK | 10 |
| 10 | 8ms | 260kb | OK | 10 |
| Punctaj total | 100 |