Pagini recente » Borderou de evaluare (job #1324399) | Borderou de evaluare (job #887211) | Borderou de evaluare (job #1829898) | Borderou de evaluare (job #511541) | Borderou de evaluare (job #1661298)
Borderou de evaluare (job #1661298)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("easyvect.in", "r", stdin);
^
user.cpp:30:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("easyvect.out", "w", stdout);
^
user.cpp:32:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &T);
^
user.cpp:35:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &N, &Q), q[0] = q[1] = 0;
^
user.cpp:37:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &a[i]), s[i] = s[i - 1] + a[i];
^
user.cpp:41:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &X), X ++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 1852kb | OK | 25 | 100 |
2 | 780ms | 3768kb | OK | 25 |
3 | 8ms | 1844kb | OK | 25 |
4 | 272ms | 3768kb | OK | 25 |
Punctaj total | 100 |