Pagini recente » Borderou de evaluare (job #2113926) | Borderou de evaluare (job #2901229) | Borderou de evaluare (job #1019424) | Borderou de evaluare (job #737302) | Borderou de evaluare (job #1857451)
Borderou de evaluare (job #1857451)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:63:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[30005]’ [-Wformat=]
ok = scanf("%s", &s);
^
user.cpp:87:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < strv.size(); i++)
^
user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mesaje.in", "r", stdin);
^
user.cpp:33:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mesaje.out", "w", stdout);
^
user.cpp:36:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccw14Qbg.o: In function `main':
user.cpp:(.text.startup+0x58): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1436kb | Time limit exceeded. | 0 |
2 | 0ms | 932kb | Corect | 10 |
3 | 0ms | 932kb | Corect | 10 |
4 | 4ms | 948kb | Corect | 10 |
5 | 0ms | 932kb | Corect | 10 |
6 | 0ms | 936kb | Corect | 10 |
7 | 48ms | 960kb | Corect | 10 |
8 | Depăşit | 1236kb | Time limit exceeded. | 0 |
9 | 96ms | 1024kb | Corect | 10 |
10 | Depăşit | 980kb | Time limit exceeded. | 0 |
Punctaj total | 70 |