Pagini recente » Borderou de evaluare (job #884995) | Borderou de evaluare (job #1408377) | Borderou de evaluare (job #1435924) | Borderou de evaluare (job #81931) | Borderou de evaluare (job #1656940)
Borderou de evaluare (job #1656940)
Raport evaluator
Compilare:
user.cpp: In function ‘int get_not(char*&)’:
user.cpp:47:13: warning: unused variable ‘x’ [-Wunused-variable]
int rez,x;
^
user.cpp: In function ‘int main()’:
user.cpp:71:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[300]’ [-Wformat=]
scanf("%s%s",&e1,&e2);
^
user.cpp:71:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[300]’ [-Wformat=]
user.cpp:66:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.in","r",stdin);
^
user.cpp:67:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.out","w",stdout);
^
user.cpp:69:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:71:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s%s",&e1,&e2);
^
user.cpp: In function ‘int get_not(char*&)’:
user.cpp:47:9: warning: ‘rez’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int rez,x;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 260kb | OK | 10 |
5 | 8ms | 264kb | OK | 10 |
6 | 0ms | 272kb | OK | 10 |
7 | 0ms | 264kb | OK | 10 |
8 | 0ms | 264kb | OK | 10 |
9 | 0ms | 264kb | OK | 10 |
10 | 0ms | 260kb | OK | 10 |
Punctaj total | 100 |