Pagini recente » Borderou de evaluare (job #2189681) | Borderou de evaluare (job #927175) | Borderou de evaluare (job #1891171) | Borderou de evaluare (job #2117103) | Borderou de evaluare (job #1436179)
Borderou de evaluare (job #1436179)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bani.in", "r", stdin);
^
user.cpp:21:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bani.out", "w", stdout);
^
user.cpp:27:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d", &t); t; --t)
^
user.cpp:29:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &g);
^
user.cpp:41:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &val, &greu, &part);
^
user.cpp:37:40: warning: array subscript is above array bounds [-Warray-bounds]
for(j = 1; j <= g; ++j) v[i][j] = 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 320kb | Raspuns gresit | 0 |
Punctaj total | 0 |