Pagini recente » Borderou de evaluare (job #3187959) | Borderou de evaluare (job #257873) | Borderou de evaluare (job #2551480) | Borderou de evaluare (job #2979363) | Borderou de evaluare (job #2066060)
Borderou de evaluare (job #2066060)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[131080]’ [-Wformat=]
scanf("%s\n",&sir);
^
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefixe.in","r",stdin);
^
user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefixe.out","w",stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:14:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",&sir);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1300ms | 932kb | OK | 100 |
Punctaj total | 100 |