Pagini recente » Borderou de evaluare (job #366290) | Borderou de evaluare (job #320433) | Borderou de evaluare (job #1349248) | Borderou de evaluare (job #301590) | Borderou de evaluare (job #1840359)
Borderou de evaluare (job #1840359)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(f[s1[i]] == 0)
^
user.cpp:18:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[s1[i]] = s2[i];
^
user.cpp:19:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(f[s1[i]] != s2[i]){printf("NU"); return 0;}
^
user.cpp:24:20: warning: NULL used in arithmetic [-Wpointer-arith]
if(f[i] != NULL) printf("%c %c\n", i, f[i]);
^
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("ceas2.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("ceas2.out", "w", stdout);
^
user.cpp:11:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s1);
^
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 252kb | OK | 10 | 100 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 256kb | OK | 10 |
5 | 0ms | 256kb | OK | 10 |
6 | 0ms | 264kb | OK | 10 |
7 | 0ms | 288kb | OK | 10 |
8 | 0ms | 312kb | OK | 10 |
9 | 0ms | 400kb | OK | 10 |
10 | 0ms | 456kb | OK | 10 |
Punctaj total | 100 |