Pagini recente » Borderou de evaluare (job #1210423) | Borderou de evaluare (job #2198547) | Borderou de evaluare (job #1677206)
Borderou de evaluare (job #1677206)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:95:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[3010]’ [-Wformat=]
scanf("%s", &str);
^
user.cpp:106:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[3010]’ [-Wformat=]
scanf("%s", &word);
^
user.cpp:86:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte.in", "r", stdin);
^
user.cpp:89:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:95:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &str);
^
user.cpp:102:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:106:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &word);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 500kb | Time limit exceeded. | 0 |
Punctaj total | 0 |