Pagini recente » Borderou de evaluare (job #2598095) | Borderou de evaluare (job #60651) | Borderou de evaluare (job #2548043) | Borderou de evaluare (job #568820) | Borderou de evaluare (job #1439815)
Borderou de evaluare (job #1439815)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:35: 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:16:37: 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:18:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d", &T); T ; --T)
^
user.cpp:20:33: 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:22:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(text+1); lg = strlen(text+1);
^
/tmp/ccarKsql.o: In function `main':
user.cpp:(.text.startup+0x94): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 716ms | 5148kb | Incorect | 0 |
Punctaj total | 0 |