Pagini recente » Borderou de evaluare (job #14602) | Borderou de evaluare (job #2290304) | Borderou de evaluare (job #80147) | Borderou de evaluare (job #475452) | Borderou de evaluare (job #1670142)
Borderou de evaluare (job #1670142)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17: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:18: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:20: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:22: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:24: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/ccafXJaR.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 | 564ms | 5164kb | OK | 100 |
Punctaj total | 100 |