Borderou de evaluare (job #1534898)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:48:47: warning: operation on ‘nr’ may be undefined [-Wsequence-point]
v2[++nr] = cmmmc(v2[nr-1], v[tmp]);
^
user.cpp: In function ‘int main()’:
user.cpp:62:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(in, "r", stdin);
^
user.cpp:63:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(out, "w", stdout);
^
user.cpp:64:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%d", &n, &m);
^
user.cpp:65:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i<= m; ++i) scanf("%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 0ms | 260kb | OK | 10 |
5 | 0ms | 260kb | OK | 10 |
6 | 0ms | 256kb | OK | 10 |
7 | 124ms | 264kb | OK | 10 |
8 | 92ms | 260kb | OK | 10 |
9 | 816ms | 260kb | OK | 10 |
10 | 1176ms | 264kb | OK | 10 |
Punctaj total | 100 |