Borderou de evaluare (job #1874842)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gard5.in","r",stdin);
^
user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gard5.out","w",stdout);
^
user.cpp:20:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:24:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccTv40my.o: In function `main':
user.cpp:(.text.startup+0xd4): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Corect! | 10 |
2 | 0ms | 276kb | Raspuns gresit! | 0 |
3 | 0ms | 272kb | Raspuns gresit! | 0 |
4 | 0ms | 272kb | Raspuns gresit! | 0 |
5 | 0ms | 276kb | Raspuns gresit! | 0 |
6 | 0ms | 276kb | Raspuns gresit! | 0 |
7 | 0ms | 268kb | Raspuns gresit! | 0 |
8 | 0ms | 272kb | Raspuns gresit! | 0 |
9 | 0ms | 272kb | Raspuns gresit! | 0 |
10 | 0ms | 268kb | Corect! | 10 |
Punctaj total | 20 |