Pagini recente » Borderou de evaluare (job #3037501) | Borderou de evaluare (job #494105) | Borderou de evaluare (job #500756) | Borderou de evaluare (job #1780604) | Borderou de evaluare (job #1778246)
Borderou de evaluare (job #1778246)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000008]’ [-Wformat=]
scanf("%s",&sir);
^
user.cpp:27:13: warning: unused variable ‘b’ [-Wunused-variable]
int b=1;
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.in","r",stdin);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.out","w",stdout);
^
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&sir);
^
user.cpp:57:25: warning: ‘q’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int w=(q>>(st-i));
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK! | 10 |
2 | 0ms | 444kb | Raspuns gresit! | 0 |
3 | 0ms | 444kb | Raspuns gresit! | 0 |
4 | 0ms | 476kb | Raspuns gresit! | 0 |
5 | 60ms | 1420kb | OK! | 10 |
6 | 24ms | 840kb | Raspuns gresit! | 0 |
7 | 40ms | 1136kb | Raspuns gresit! | 0 |
8 | 76ms | 1416kb | Raspuns gresit! | 0 |
9 | 16ms | 824kb | OK! | 10 |
10 | 40ms | 1212kb | OK! | 10 |
Punctaj total | 40 |