Borderou de evaluare (job #2325438)
Raport evaluator
Compilare:
main.cpp: In function 'void read()':
main.cpp:16:47: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'double*' [-Wformat=]
scanf("%d%d",&x[i] ,&y[i]);// f>>x[i]>>y[i];
^
main.cpp:16:47: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'double*' [-Wformat=]
main.cpp:13:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("trapez.in","r",stdin);
^
main.cpp:14:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:16:48: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x[i] ,&y[i]);// f>>x[i]>>y[i];
^
main.cpp: In function 'void write()':
main.cpp:36:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("trapez.out" , "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | Ok! | 10 |
2 | 553ms | 3932kb | Time limit exceeded | 0 |
3 | 9ms | 131kb | Ok! | 10 |
4 | 552ms | 4194kb | Time limit exceeded | 0 |
5 | 7ms | 131kb | Ok! | 10 |
6 | 18ms | 262kb | Ok! | 10 |
7 | 551ms | 4194kb | Time limit exceeded | 0 |
8 | 148ms | 1179kb | Ok! | 10 |
9 | 551ms | 4063kb | Time limit exceeded | 0 |
10 | 552ms | 4063kb | Time limit exceeded | 0 |
Punctaj total | 50 |