Pagini recente » Borderou de evaluare (job #582571) | Borderou de evaluare (job #73510) | Borderou de evaluare (job #1927309) | Borderou de evaluare (job #1323124) | Borderou de evaluare (job #1445210)
Borderou de evaluare (job #1445210)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long double*’ [-Wformat=]
scanf("%d %d", &n, &w);
^
user.cpp:34:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long double*’ [-Wformat=]
scanf("%d", &v[i][j]);
^
user.cpp:25: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:26: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:27:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:30: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:34: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 | 32636kb | Time limit exceeded. | 0 |
Punctaj total | 0 |