Pagini recente » Borderou de evaluare (job #109389) | Borderou de evaluare (job #3241730) | Borderou de evaluare (job #156125) | Borderou de evaluare (job #5574) | Borderou de evaluare (job #1439838)
Borderou de evaluare (job #1439838)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("parola.in", "r", stdin);
^
user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("parola.out", "w", stdout);
^
user.cpp:14:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &T);
^
user.cpp:18:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d\n", &N, &K);
^
user.cpp:19:41: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1), M = strlen (sir + 1);
^
/tmp/ccYIFLiS.o: In function `main':
user.cpp:(.text.startup+0x9c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 440ms | 5144kb | OK | 100 |
Punctaj total | 100 |