Pagini recente » Borderou de evaluare (job #2707745) | Borderou de evaluare (job #673377) | Borderou de evaluare (job #2493107) | Borderou de evaluare (job #2875598) | Borderou de evaluare (job #1403758)
Borderou de evaluare (job #1403758)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pufarina.in","r",stdin);
^
user.cpp:40:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pufarina.out","w",stdout);
^
user.cpp:42:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:47:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&nr);
^
user.cpp:49:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccDZjoZ3.o: In function `main':
user.cpp:(.text.startup+0xa6): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 100 |
Punctaj total | 100 |