Pagini recente » Borderou de evaluare (job #1876993) | Borderou de evaluare (job #3206346) | Borderou de evaluare (job #2262774) | Borderou de evaluare (job #621439) | Borderou de evaluare (job #1441653)
Borderou de evaluare (job #1441653)
Raport evaluator
Compilare:
user.cpp: In function ‘int get_worst_pos(int)’:
user.cpp:17:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int get_best_pos(int)’:
user.cpp:23:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int get_worst_place(int)’:
user.cpp:34:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int get_best_place(int)’:
user.cpp:45:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:51:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("comentariu.in", "r", stdin);
^
user.cpp:52:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("comentariu.out", "w", stdout);
^
user.cpp:53:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:56:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:58:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a[i], &b[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3748ms | 264kb | Incorect | 0 |
Punctaj total | 0 |