Pagini recente » Borderou de evaluare (job #1755947) | Borderou de evaluare (job #1966680) | Borderou de evaluare (job #2085623) | Borderou de evaluare (job #556213) | Borderou de evaluare (job #1682200)
Borderou de evaluare (job #1682200)
Raport evaluator
Compilare:
user.cpp: In function ‘void afis(std::vector<int>)’:
user.cpp:78:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<a.size();i++){
^
user.cpp: In function ‘std::vector<int> join(std::vector<int>&, std::vector<int>&)’:
user.cpp:88:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while ((i < left.size()) && (j < right.size())) {
^
user.cpp:88:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while ((i < left.size()) && (j < right.size())) {
^
user.cpp:97:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < left.size()) {
^
user.cpp:101:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (j < right.size()) {
^
user.cpp: In function ‘int main()’:
user.cpp:162:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zoo.out", "w", stdout);
^
user.cpp:164:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &N);
^
user.cpp:166:51: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d", &sorted[i].x, &sorted[i].y);
^
user.cpp:172:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &M);
^
user.cpp:174:49: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d %d %d", &x1, &y1, &x2, &y2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 648kb | OK | 10 |
2 | 0ms | 652kb | OK | 10 |
3 | 4ms | 724kb | Incorect | 0 |
4 | 64ms | 2112kb | Incorect | 0 |
5 | 116ms | 2108kb | Incorect | 0 |
6 | 132ms | 2108kb | Incorect | 0 |
7 | 204ms | 2108kb | Incorect | 0 |
8 | 180ms | 2112kb | Incorect | 0 |
9 | 228ms | 2116kb | Incorect | 0 |
10 | 216ms | 2112kb | Incorect | 0 |
Punctaj total | 20 |