Pagini recente » Cod sursa (job #1508655) | Cod sursa (job #5282) | Cod sursa (job #2848314) | Borderou de evaluare (job #1590023) | Borderou de evaluare (job #2725421)
Borderou de evaluare (job #2725421)
Raport evaluator
Compilare:
main.cpp: In function 'void fIn(std::__cxx11::string)':
main.cpp:54:48: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
void fIn(string s){freopen(s.c_str(),"r",stdin);} void fOut(string s){freopen(s.c_str(),"w",stdout);} void fIO(string s){fIn(s+".in"); fOut(s+".out");}
^
main.cpp: In function 'void fOut(std::__cxx11::string)':
main.cpp:54:100: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
void fIn(string s){freopen(s.c_str(),"r",stdin);} void fOut(string s){freopen(s.c_str(),"w",stdout);} void fIO(string s){fIn(s+".in"); fOut(s+".out");}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 131kb | Incorect | 0 |
| 2 | 36ms | 393kb | Incorect | 0 |
| 3 | 4ms | 131kb | Incorect | 0 |
| 4 | 624ms | 5898kb | Incorect | 0 |
| 5 | 835ms | 6029kb | Incorect | 0 |
| 6 | 853ms | 5898kb | Incorect | 0 |
| 7 | 927ms | 5636kb | Incorect | 0 |
| 8 | 964ms | 5505kb | Incorect | 0 |
| 9 | 954ms | 6160kb | Incorect | 0 |
| 10 | 1217ms | 11141kb | Incorect | 0 |
| 11 | 1038ms | 11665kb | Incorect | 0 |
| 12 | 769ms | 7340kb | Incorect | 0 |
| 13 | 1007ms | 8257kb | Incorect | 0 |
| 14 | 1068ms | 7995kb | Incorect | 0 |
| 15 | 1809ms | 19136kb | Incorect | 0 |
| 16 | 1670ms | 18153kb | Incorect | 0 |
| 17 | 1652ms | 18141kb | Incorect | 0 |
| 18 | 1696ms | 17694kb | Incorect | 0 |
| 19 | 1504ms | 18219kb | Incorect | 0 |
| Punctaj total | 0 |