Pagini recente » Borderou de evaluare (job #1779584) | Borderou de evaluare (job #2371505) | Borderou de evaluare (job #753124) | Borderou de evaluare (job #1924377) | Borderou de evaluare (job #1445199)
Borderou de evaluare (job #1445199)
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 ‘float*’ [-Wformat=]
scanf("%d %d", &n, &w);
^
user.cpp:35:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘float*’ [-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:35: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 | 11260kb | Time limit exceeded. | 0 |
Punctaj total | 0 |