Pagini recente » Borderou de evaluare (job #223973) | Borderou de evaluare (job #1304233) | Borderou de evaluare (job #104608) | Borderou de evaluare (job #2117762) | Borderou de evaluare (job #1204579)
Borderou de evaluare (job #1204579)
Raport evaluator
Compilare:
user.cpp: In function ‘int go(int)’:
user.cpp:17: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 | 236kb | Raspuns gresit! | 0 |
2 | 0ms | 228kb | Raspuns gresit! | 0 |
3 | 0ms | 228kb | Raspuns gresit! | 0 |
4 | 0ms | 252kb | Raspuns gresit! | 0 |
5 | 4ms | 720kb | Raspuns gresit! | 0 |
6 | 0ms | 432kb | Raspuns gresit! | 0 |
7 | 0ms | 576kb | Raspuns gresit! | 0 |
8 | 4ms | 728kb | Raspuns gresit! | 0 |
9 | 0ms | 360kb | Raspuns gresit! | 0 |
10 | 0ms | 488kb | Raspuns gresit! | 0 |
Punctaj total | 0 |