Borderou de evaluare (job #261969)

Utilizator avatar isa_mirica_mihai Mirica Matei Mihai isa_mirica_mihai IP ascuns
Problemă Mesaj1 (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 26 dec. 2016 20:25:50 Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:39:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:16:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:19:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:20:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:21:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:22:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:47:23: warning: ‘car’ may be used uninitialized in this function [-Wuninitialized] /tmp/ccgAJIyh.o: In function `main': user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 268 kb OK 10
2 0 ms 264 kb OK 10
3 0 ms 268 kb OK 10
4 0 ms 268 kb OK 10
5 0 ms 264 kb OK 10
6 0 ms 320 kb OK 10
7 0 ms 264 kb OK 10
8 0 ms 300 kb OK 10
9 0 ms 264 kb OK 10
10 0 ms 268 kb OK 10
Punctaj total 100