Pagini recente » Borderou de evaluare (job #1714327) | Borderou de evaluare (job #1601343) | Borderou de evaluare (job #322427) | Borderou de evaluare (job #1786103) | Borderou de evaluare (job #1725772)
Borderou de evaluare (job #1725772)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte.in", "r", stdin);
^
user.cpp:40:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte.out", "w", stdout);
^
user.cpp:42:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:46:33: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1), n=strlen(a+1);
^
user.cpp:50:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &N);
^
user.cpp:53:37: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b+1), m=strlen(b+1);
^
/tmp/cc9ItLqt.o: In function `main':
user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 204ms | 1396kb | OK | 100 |
Punctaj total | 100 |