Pagini recente » Borderou de evaluare (job #231808) | Borderou de evaluare (job #1539689) | Borderou de evaluare (job #42705) | Borderou de evaluare (job #1389916) | Borderou de evaluare (job #1796992)
Borderou de evaluare (job #1796992)
Raport evaluator
Compilare:
user.cpp: In function ‘void merge(std::vector<short int>&, std::vector<short int>&)’:
user.cpp:20:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<a.size() && j<b.size())
^
user.cpp:20:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<a.size() && j<b.size())
^
user.cpp:33:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i<a.size()) c.push_back(a[i]),i++;
^
user.cpp:34:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j<b.size()) c.push_back(b[j]),j++;
^
user.cpp:35: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 | OK | 10 | 0 |
2 | 0ms | 548kb | OK | 10 |
3 | 0ms | 556kb | OK | 10 |
4 | 12ms | 560kb | OK | 10 |
5 | Depăşit | 532kb | Time limit exceeded. | 0 |
6 | Depăşit | 528kb | Time limit exceeded. | 0 | 0 |
7 | 156ms | 560kb | OK | 10 |
8 | 0ms | 552kb | OK | 10 |
9 | 0ms | 548kb | OK | 10 |
10 | 0ms | 560kb | OK | 10 |
Punctaj total | 0 |