Pagini recente » Borderou de evaluare (job #1188333) | Borderou de evaluare (job #2918704) | Borderou de evaluare (job #2841770) | Borderou de evaluare (job #49494) | Borderou de evaluare (job #1709067)
Borderou de evaluare (job #1709067)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (unsigned i = 0; i < k; ++i){
^
user.cpp:22:42: 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:23:44: 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:29:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:31: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 | 4ms | 260kb | OK | 100 |
Punctaj total | 100 |