Pagini recente » Borderou de evaluare (job #2634506) | Borderou de evaluare (job #1920534) | Borderou de evaluare (job #2320965) | Borderou de evaluare (job #1458907) | Borderou de evaluare (job #1715208)
Borderou de evaluare (job #1715208)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(int)’:
user.cpp:36:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pas == divs.size()) {
^
user.cpp: In function ‘int main()’:
user.cpp:58:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("consecutive.in","r",stdin);
^
user.cpp:59:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("consecutive.out","w",stdout);
^
user.cpp:68:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:70:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 636kb | Incorect | 0 |
Punctaj total | 0 |