Pagini recente » Borderou de evaluare (job #1012046) | Borderou de evaluare (job #767232) | Borderou de evaluare (job #280028) | Borderou de evaluare (job #2944534) | Borderou de evaluare (job #1204588)
Borderou de evaluare (job #1204588)
Raport evaluator
Compilare:
user.cpp: In function ‘bool go(int)’:
user.cpp:18:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; last < strlen(s); ++last) {
^
user.cpp: In function ‘int main()’:
user.cpp:34:28: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[500005]’ [-Wformat=]
scanf ("%d\n%s", &n, &s);
^
user.cpp:32:38: 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:33:40: 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:34:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n%s", &n, &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 232kb | Raspuns gresit! | 0 |
2 | 0ms | 236kb | Raspuns gresit! | 0 |
3 | 0ms | 228kb | Raspuns gresit! | 0 |
4 | 0ms | 244kb | Raspuns gresit! | 0 |
5 | 4ms | 724kb | Raspuns gresit! | 0 |
6 | 0ms | 432kb | Raspuns gresit! | 0 |
7 | 0ms | 580kb | Raspuns gresit! | 0 |
8 | 4ms | 724kb | Raspuns gresit! | 0 |
9 | 0ms | 364kb | Raspuns gresit! | 0 |
10 | 0ms | 488kb | Raspuns gresit! | 0 |
Punctaj total | 0 |