Borderou de evaluare (job #2001039)

Utilizator IulianaBinzarIuliana Binzar IulianaBinzar Data 15 iulie 2017 15:54:14
Problema Kbiti Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp:4:19: warning: extra tokens at end of #include directive [enabled by default] #include <stdio.h>> ^ user.cpp: In function ‘int main()’: user.cpp:17:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘std::string* {aka std::basic_string<char>*}’ [-Wformat=] scanf("%s",&temp); ^ user.cpp:21:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘std::string* {aka std::basic_string<char>*}’ [-Wformat=] scanf("%s",&temp); ^ user.cpp:23:25: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] printf("%ull\n",&sol+1); ^ user.cpp:13:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kbiti.in","r",stdin); ^ user.cpp:14:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kbiti.out","w",stdout); ^ user.cpp:17:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&temp); ^ user.cpp:21:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&temp); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms660kbKilled by signal 6(SIGABRT).0
20ms420kbKilled by signal 11(SIGSEGV).0
30ms416kbKilled by signal 11(SIGSEGV).0
40ms416kbKilled by signal 11(SIGSEGV).0
50ms416kbKilled by signal 11(SIGSEGV).0
60ms416kbKilled by signal 11(SIGSEGV).0
70ms420kbKilled by signal 11(SIGSEGV).0
80ms412kbKilled by signal 11(SIGSEGV).0
90ms412kbKilled by signal 11(SIGSEGV).0
100ms416kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?