Borderou de evaluare (job #2626434)

Utilizator andrei-cosmin.bujorBujor Andrei-Cosmin andrei-cosmin.bujor Data 6 iunie 2020 14:39:56
Problema Alibaba Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:14:18: error: 'gets' was not declared in this scope gets ( b + 1 ) ; ^ main.cpp:21:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( long i = 0 ; i < a . size ( ) ; ++ i ) ~~^~~~~~~~~~~~~~ main.cpp:40:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( long i = 0 ; i < a . size ( ) ; ++ i ) ~~^~~~~~~~~~~~~~~ main.cpp:11:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ( "alibaba.in" , "r" , stdin ) ; ^ main.cpp:12:46: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ( "alibaba.out" , "w" , stdout ) ; ^ main.cpp:13:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ( "%ld %ld\n" , & n , & k ) ; ^ Non zero exit status: 1

Ceva nu functioneaza?