Pagini recente » Borderou de evaluare (job #2921396) | Borderou de evaluare (job #3135263) | Borderou de evaluare (job #1467728) | Borderou de evaluare (job #1733898) | Borderou de evaluare (job #1537346)
Borderou de evaluare (job #1537346)
Raport evaluator
Compilare:
user.cpp: In function ‘void add(int)’:
user.cpp:18:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v[r].size(); ++i)
^
user.cpp: In function ‘long long int cauta(int)’:
user.cpp:37:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v[r].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:50:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("eqs.in","r",stdin);
^
user.cpp:51:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("eqs.out","w",stdout);
^
user.cpp:52:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= 5; ++i) scanf("%d",&a[i]);
^
user.cpp:67:67: warning: array subscript is above array bounds [-Warray-bounds]
sum = a[3] * (i * i *i) + a[4] * (j * j *j) + a[5] * (k *k *k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 40ms | 8268kb | OK | 10 |
2 | 40ms | 8268kb | OK | 10 |
3 | 40ms | 8272kb | OK | 10 |
4 | 92ms | 8256kb | OK | 10 |
5 | 92ms | 8252kb | OK | 10 |
6 | 92ms | 8260kb | OK | 10 |
7 | 92ms | 8256kb | OK | 10 |
8 | 88ms | 8256kb | OK | 10 |
9 | 92ms | 8252kb | OK | 10 |
10 | 88ms | 8264kb | OK | 10 |
Punctaj total | 100 |