Pagini recente » Borderou de evaluare (job #1538616) | Borderou de evaluare (job #2427048) | Borderou de evaluare (job #53156) | Borderou de evaluare (job #2156615) | Borderou de evaluare (job #1465298)
Borderou de evaluare (job #1465298)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("g2.in","r",stdin);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("g2.out","w",stdout);
^
user.cpp:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:23:16: warning: array subscript is above array bounds [-Warray-bounds]
v[7]++, N /= 7;
^
user.cpp:23:16: warning: array subscript is above array bounds [-Warray-bounds]
user.cpp:44:36: warning: array subscript is above array bounds [-Warray-bounds]
for(i = 1; i <= v[7]; i++)
^
user.cpp:62:36: warning: array subscript is above array bounds [-Warray-bounds]
for(i = 1; i <= v[7]; i++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Incorect | 0 |
2 | 0ms | 276kb | Incorect | 0 |
3 | 0ms | 276kb | Incorect | 0 |
4 | 0ms | 264kb | Incorect | 0 |
5 | 0ms | 272kb | Incorect | 0 |
6 | 0ms | 260kb | Incorect | 0 |
7 | 0ms | 272kb | Incorect | 0 |
8 | 0ms | 256kb | Incorect | 0 |
9 | 0ms | 256kb | Incorect | 0 |
10 | 0ms | 264kb | Incorect | 0 |
Punctaj total | 0 |