Pagini recente » Borderou de evaluare (job #2112680) | Borderou de evaluare (job #3298287) | Borderou de evaluare (job #2747400) | Borderou de evaluare (job #636214) | Borderou de evaluare (job #1469579)
Borderou de evaluare (job #1469579)
Raport evaluator
Compilare:
user.cpp: In function ‘void Add(int)’:
user.cpp:20:9: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
user.cpp: In function ‘int Query()’:
user.cpp:49:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < strlen(s); ++i){
^
user.cpp:55:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i == strlen(s)-1)return t[nod][j].nr;
^
user.cpp:46:10: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable]
bool ok;
^
user.cpp: In function ‘int main()’:
user.cpp:62:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.in","r",stdin);
^
user.cpp:63:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.out","w",stdout);
^
user.cpp:65:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&k);
^
user.cpp:67:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",a);
^
user.cpp:75:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&q);
^
user.cpp:77:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 8ms | 680kb | OK | 10 |
| 2 | 0ms | 368kb | Incorect | 0 |
| 3 | 104ms | Depăşit | Memory limit exceeded. | 0 |
| 4 | 104ms | Depăşit | Memory limit exceeded. | 0 |
| 5 | 104ms | Depăşit | Memory limit exceeded. | 0 |
| 6 | 104ms | Depăşit | Memory limit exceeded. | 0 |
| 7 | 156ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 156ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 156ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 100ms | 23652kb | OK | 10 |
| Punctaj total | 20 |