Pagini recente » Borderou de evaluare (job #1590501) | Borderou de evaluare (job #2347995) | Borderou de evaluare (job #744460) | Borderou de evaluare (job #526881) | Borderou de evaluare (job #1728332)
Borderou de evaluare (job #1728332)
Raport evaluator
Compilare:
user.cpp: In member function ‘int Stack::push(int)’:
user.cpp:28:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In member function ‘int Stack::pop()’:
user.cpp:32:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:84:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("invazia.in", "r", stdin);
^
user.cpp:85:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("invazia.out", "w", stdout);
^
user.cpp:87:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &q);
^
user.cpp:94:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n%c", &qt);
^
user.cpp:107:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &Q[nr].F, &Q[nr].S, &Q[nr].V);
^
user.cpp:116:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
ans = inf;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 104ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |