Pagini recente » Cod sursa (job #1364059) | Cod sursa (job #3239376) | Cod sursa (job #1464985) | Cod sursa (job #78026) | Borderou de evaluare (job #2571410)
Borderou de evaluare (job #2571410)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:57:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < ciclu.size() - 1; i++) {
~~^~~~~~~~~~~~~~~~~~
main.cpp:66:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < ciclu.size() - 1; i++) {
~~^~~~~~~~~~~~~~~~~~
main.cpp:74:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if((c1 != 0 && c2 != 0) && (c1 != ciclu.size() - 1 && c2 != ciclu.size() - 1)) {
~~~^~~~~~~~~~~~~~~~~~~
main.cpp:74:70: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if((c1 != 0 && c2 != 0) && (c1 != ciclu.size() - 1 && c2 != ciclu.size() - 1)) {
~~~^~~~~~~~~~~~~~~~~~~
main.cpp:83:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < ciclu.size() - 1; i++) {
~~^~~~~~~~~~~~~~~~~~
main.cpp:32:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("biperm.in", "r", stdin);
^
main.cpp:33:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("biperm.out", "w", stdout);
^
main.cpp:34:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:36:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &c[i].a);
^
main.cpp:39:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &c[i].b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 917kb | Corect | 10 |
| 2 | 3ms | 917kb | Corect | 10 |
| 3 | 3ms | 917kb | Corect | 10 |
| 4 | 3ms | 917kb | Corect | 10 |
| 5 | 4ms | 917kb | Corect | 10 |
| 6 | 4ms | 917kb | Corect | 10 |
| 7 | 4ms | 917kb | Corect | 10 |
| 8 | 4ms | 917kb | Corect | 10 |
| 9 | 28ms | 1966kb | Corect | 10 |
| 10 | 29ms | 2228kb | Corect | 10 |
| Punctaj total | 100 |