.campion
conectare | înregistrare | căutare
Pagina principală » Surse trimise » Sursa 632290

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 632290
Concurent: Andrei Lazarescu (Laza_Andrei)Progres: evaluare completă
Problemă: linksPunctaj exemplu: 0
Limbaj: cppPunctaj final: 80
Dată: 18 dec 2023, 20:46
Mesaj evaluator:
links.cpp: In function 'int main()': links.cpp:75: warning: array subscript has type 'char' links.cpp:77: warning: array subscript has type 'char' links.cpp:65: warning: unused variable 'tmp2' links.cpp:28: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result links.cpp:29: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result links.cpp:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result links.cpp:36: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result links.cpp:37: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result links.cpp:38: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result links.cpp:55: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from /usr/include/c++/4.4/cstdio:45, from links.cpp:1: In function 'char* gets(char*)', inlined from 'int main()' at links.cpp:36: /usr/include/bits/stdio2.h:230: warning: call to '__gets_warn' declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size /tmp/cceQZyfX.o: In function `main': links.cpp:(.text+0x10e): warning: the `gets' function is dangerous and should not be used. links.cpp:(.text+0x122): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
Test Timp Mesaj evaluator Punctaj
0 0 Wrong answer in: links.out 0
Total exemple 0
1 0 Okay! 10
2 0 Okay! 10
3 0 Okay! 10
4 0.101 Time limit exceeded! 0
5 0 Okay! 10
6 0 Okay! 10
7 0 Okay! 10
8 0 Okay! 10
9 0 Okay! 10
10 0 Wrong answer in: links.out 0
Total evaluare 80
ajutor