Pagini recente » Borderou de evaluare (job #2909194) | Borderou de evaluare (job #2923332) | Borderou de evaluare (job #2432383) | Borderou de evaluare (job #928135) | Borderou de evaluare (job #1709042)
Borderou de evaluare (job #1709042)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
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 | Depăşit | 268kb | Time limit exceeded. | 0 |
Punctaj total | 0 |