Pagini recente » Borderou de evaluare (job #2098440) | Borderou de evaluare (job #2249881) | Borderou de evaluare (job #739340) | Borderou de evaluare (job #1386860) | Borderou de evaluare (job #1681761)
Borderou de evaluare (job #1681761)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1010]’ [-Wformat=]
scanf("%s%s",&a,&b);
^
user.cpp:18:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[1010]’ [-Wformat=]
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("similar.in","r",stdin);
^
user.cpp:14:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("similar.out","w",stdout);
^
user.cpp:16:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&tests);
^
user.cpp:18:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s%s",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1148ms | 4252kb | OK | 100 |
Punctaj total | 100 |