Pagini recente » Cod sursa (job #2149893) | Borderou de evaluare (job #1796456) | Borderou de evaluare (job #1796713)
Borderou de evaluare (job #1796713)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:53:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresii.in", "r", stdin);
^
user.cpp:54:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresii.out", "w", stdout);
^
user.cpp:56:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:61:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccS79zu9.o: In function `main':
user.cpp:(.text.startup+0xb4): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | OK | 100 |
Punctaj total | 100 |