Pagini recente » Borderou de evaluare (job #1355365) | Borderou de evaluare (job #1162204) | Borderou de evaluare (job #2625376) | Borderou de evaluare (job #1527355) | Borderou de evaluare (job #1797310)
Borderou de evaluare (job #1797310)
Raport evaluator
Compilare:
user.cpp: In function ‘void merge(std::vector<short int>&, std::vector<short int>&)’:
user.cpp:21:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<a.size() && j<b.size())
^
user.cpp:21:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<a.size() && j<b.size())
^
user.cpp:34:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i<a.size()) c.push_back(a[i]),i++;
^
user.cpp:35:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j<b.size()) c.push_back(b[j]),j++;
^
user.cpp:36:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<b.size();i++) a.push_back(b[i]);
^
user.cpp: In function ‘void citeste(int&)’:
user.cpp:54:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,dim,stdin);
^
user.cpp:64:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,dim,stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:70:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori.in","r",stdin);
^
user.cpp:71:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori.out","w",stdout);
^
user.cpp:72:28: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,dim,stdin);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 544kb | Incorect | 0 | 0 |
| 2 | 0ms | 548kb | OK | 10 |
| 3 | 0ms | 556kb | OK | 10 |
| 4 | 12ms | 564kb | OK | 10 |
| 5 | 160ms | 572kb | OK | 10 |
| 6 | 180ms | 568kb | OK | 10 | 50 |
| 7 | 132ms | 560kb | OK | 10 |
| 8 | 0ms | 552kb | OK | 10 |
| 9 | 0ms | 552kb | OK | 10 |
| 10 | 0ms | 556kb | OK | 10 |
| Punctaj total | 50 |