Pagini recente » Borderou de evaluare (job #920163) | Borderou de evaluare (job #55932) | Borderou de evaluare (job #1683801) | Borderou de evaluare (job #1612620) | Borderou de evaluare (job #1740801)
Borderou de evaluare (job #1740801)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:10: warning: unused variable ‘c’ [-Wunused-variable]
char c;
^
user.cpp:5:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parantezare.in", "r", stdin);
^
user.cpp:6:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parantezare.out", "w", stdout);
^
user.cpp:15:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:11:15: warning: array subscript is below array bounds [-Warray-bounds]
while (v[i] != '\n'){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 268kb | OK | 10 |
5 | 0ms | 272kb | OK | 10 |
6 | 0ms | 268kb | OK | 10 |
7 | 0ms | 276kb | OK | 10 |
8 | 0ms | 272kb | OK | 10 |
9 | 4ms | 360kb | OK | 10 |
10 | 8ms | 356kb | OK | 10 |
Punctaj total | 100 |