Pagini recente » Borderou de evaluare (job #1855425) | Borderou de evaluare (job #2396411) | Borderou de evaluare (job #2964174) | Borderou de evaluare (job #772850) | Borderou de evaluare (job #1390211)
Borderou de evaluare (job #1390211)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:38: warning: format ‘%g’ expects argument of type ‘float*’, but argument 2 has type ‘double*’ [-Wformat=]
scanf("%g %g",&v[i].x,&v[i].y);
^
user.cpp:29:38: warning: format ‘%g’ expects argument of type ‘float*’, but argument 3 has type ‘double*’ [-Wformat=]
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("flori2.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("flori2.out","w",stdout);
^
user.cpp:22:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:25:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:29:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%g %g",&v[i].x,&v[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 32ms | 312kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |