Pagini recente » Cod sursa (job #2104091) | Cod sursa (job #1815153) | Cod sursa (job #653171) | Cod sursa (job #527366) | Borderou de evaluare (job #1557835)
Borderou de evaluare (job #1557835)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:15: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, imin, jmin, max, min, s=0, pozmax, pozmin;
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv7.in", "r", stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv7.out", "w", stdout);
^
user.cpp:10:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &v[1]);
^
user.cpp:14:27: 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 |
Punctaj/grupa |
| 1 | 0ms | 284kb | OK! | 10 | 0 |
| 2 | 0ms | 276kb | Raspuns Gresit! | 0 |
| 3 | 0ms | 280kb | Raspuns Gresit! | 0 |
| 4 | 0ms | 284kb | OK! | 10 | 10 |
| 5 | 0ms | 296kb | OK! | 10 | 10 |
| 6 | 0ms | 320kb | Raspuns Gresit! | 0 | 0 |
| 7 | 4ms | 336kb | Raspuns Gresit! | 0 | 0 |
| 8 | 4ms | 360kb | Raspuns Gresit! | 0 | 0 |
| 9 | 4ms | 380kb | Raspuns Gresit! | 0 | 0 |
| 10 | 8ms | 404kb | Raspuns Gresit! | 0 | 0 |
| Punctaj total | 20 |