Pagini recente » Borderou de evaluare (job #1296143) | Cod sursa (job #110705) | Borderou de evaluare (job #1969135) | Borderou de evaluare (job #2241493) | Borderou de evaluare (job #1981436)
Borderou de evaluare (job #1981436)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:54:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < k.size()-1 ; ++i)
^
user.cpp:55:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = i + 1 ; j < k.size() ; ++j)
^
user.cpp:61:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1 ; i < v.size() ; i++)
^
user.cpp:41:36: 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);
^
user.cpp:42:37: 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);
^
user.cpp:45:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:48:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 296kb | Ok! | 10 |
| 2 | 124ms | 4344kb | Ok! | 10 |
| 3 | 0ms | 400kb | Ok! | 10 |
| 4 | 124ms | 4340kb | Ok! | 10 |
| 5 | 0ms | 396kb | Ok! | 10 |
| 6 | 0ms | 420kb | Ok! | 10 |
| 7 | 124ms | 4340kb | Ok! | 10 |
| 8 | 28ms | 1188kb | Ok! | 10 |
| 9 | 124ms | 4336kb | Ok! | 10 |
| 10 | 120ms | 4344kb | Ok! | 10 |
| Punctaj total | 100 |