Pagini recente » Borderou de evaluare (job #3260943) | Borderou de evaluare (job #2940579) | Borderou de evaluare (job #3237472) | Borderou de evaluare (job #3182967) | Borderou de evaluare (job #2126150)
Borderou de evaluare (job #2126150)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:87:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[70]’ [-Wformat=]
scanf("%s\n", &s);
^
user.cpp:88:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < strlen(s); ++i){
^
user.cpp:77:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("clasamente.in", "r", stdin);
^
user.cpp:78:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("clasamente.out", "w", stdout);
^
user.cpp:80:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:83:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:87:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1448kb | Time limit exceeded. | 0 |
Punctaj total | 0 |