Pagini recente » Borderou de evaluare (job #3161975) | Borderou de evaluare (job #504916) | Monitorul de evaluare | Cod sursa (job #1554875) | Borderou de evaluare (job #1513047)
Borderou de evaluare (job #1513047)
Raport evaluator
Compilare:
user.cpp: In function ‘void antibfs()’:
user.cpp:58:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<node->strings.size();j++)
^
user.cpp: In function ‘int main()’:
user.cpp:66:47: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[100010]’ [-Wformat=]
scanf("%d%d\n%s",&text_length,&words,&text);
^
user.cpp:69:37: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[1010]’ [-Wformat=]
scanf("%d\n%s",&length,&word);
^
user.cpp:63:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.in","r",stdin);
^
user.cpp:64:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.out","w",stdout);
^
user.cpp:66:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n%s",&text_length,&words,&text);
^
user.cpp:69:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%s",&length,&word);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 392kb | OK | 10 |
| 2 | 8ms | 312kb | OK | 10 |
| 3 | 20ms | 436kb | OK | 10 |
| 4 | 120ms | 17752kb | OK | 10 |
| 5 | 188ms | 28592kb | OK | 10 |
| 6 | 116ms | 17560kb | OK | 10 |
| 7 | 244ms | 35248kb | OK | 10 |
| 8 | 124ms | 17804kb | OK | 10 |
| 9 | 16ms | 2556kb | OK | 10 |
| 10 | 4ms | 1120kb | OK | 10 |
| Punctaj total | 100 |