Pagini recente » Borderou de evaluare (job #15954) | Borderou de evaluare (job #2804018) | Borderou de evaluare (job #220079) | Borderou de evaluare (job #1773052) | Borderou de evaluare (job #1445156)
Borderou de evaluare (job #1445156)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:27: warning: left operand of comma operator has no effect [-Wunused-value]
for (int i = n; i >= 1, ans = i; i--)
^
user.cpp:20:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plantatii.in", "r", stdin);
^
user.cpp:21:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plantatii.out", "w", stdout);
^
user.cpp:22:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:25:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &w);
^
user.cpp:29:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 18244kb | Time limit exceeded. | 0 |
Punctaj total | 0 |