Pagini recente » Borderou de evaluare (job #1848756) | Borderou de evaluare (job #593865) | Borderou de evaluare (job #1691891) | Borderou de evaluare (job #2590747) | Borderou de evaluare (job #1561832)
Borderou de evaluare (job #1561832)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:25: warning: too many arguments for format [-Wformat-extra-args]
scanf("%d",&n,&w);
^
user.cpp:25:38: 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:40: 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:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:31:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n,&w);
^
user.cpp:33:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(j=1; j<= n; ++j) scanf("%d",&a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 744ms | 18676kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |